Class: Iso9660::SparseFile

Inherits:
Object
  • Object
show all
Defined in:
lib/fs/iso9660/rock_ridge.rb

Overview

Um, sparse file is pretty complicated so I’m just going to get the first three going and then worry about this.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data, suff) ⇒ SparseFile

Returns a new instance of SparseFile.



224
225
226
227
228
229
# File 'lib/fs/iso9660/rock_ridge.rb', line 224

def initialize(data, suff)
  @sf = RR_SF.decode(data)
  @flags = 0
  @suff = suff
  raise "Sparse file."
end

Instance Attribute Details

#fileDataObject (readonly)

Returns the value of attribute fileData.



222
223
224
# File 'lib/fs/iso9660/rock_ridge.rb', line 222

def fileData
  @fileData
end

#flagsObject (readonly)

Returns the value of attribute flags.



222
223
224
# File 'lib/fs/iso9660/rock_ridge.rb', line 222

def flags
  @flags
end

#lengthObject (readonly)

Returns the value of attribute length.



222
223
224
# File 'lib/fs/iso9660/rock_ridge.rb', line 222

def length
  @length
end