Class: Gsf::StructuredBlob
Class Method Summary collapse
-
.read(input) ⇒ Gsf::StructuredBlob
Create a tree of binary blobs with unknown content from a Gsf::Input or Gsf::Infile and store it in a newly created #GsfStructuredBlob.
Instance Method Summary collapse
-
#write(container) ⇒ Boolean
Dumps structured blob blob onto the container.
Methods inherited from Infile
#child_by_aname, #child_by_index, #child_by_name, #child_by_vaname, #child_by_vname, #name_by_index, #num_children
Methods inherited from Input
#container, #container=, #copy, #dump, #dup, #eof, #eof=, #eof?, error_id, #find_vba, #initialize, #modtime, #modtime=, #modtime_from_stat=, #name, #name=, #name_from_filename=, #position, #position=, #read, #read0, #read_raw, #remaining, #remaining=, #seek, #seek_emulate, #sibling, #size, #size=, #tell, #uncompress
Constructor Details
This class inherits a constructor from Gsf::Input
Class Method Details
.read(input) ⇒ Gsf::StructuredBlob
Create a tree of binary blobs with unknown content from a Gsf::Input or Gsf::Infile and store it in a newly created #GsfStructuredBlob.
Instance Method Details
#write(container) ⇒ Boolean
Dumps structured blob blob onto the container. Will fail if the output is not an Outfile and blob has multiple streams.