Class: Gsf::OutputMemory
Instance Method Summary collapse
-
#bytes ⇒ Array<Integer>
The data that has been written to mem.
-
#initialize ⇒ Gsf::Output
constructor
A new file.
-
#steal_bytes ⇒ Array<Integer>
The caller takes ownership and the buffer belonging to mem is set to nil.
Methods inherited from Output
#close, #container, #container=, #error, error_id, #is_closed, #is_closed=, #is_closed?, #modtime, #modtime=, #name, #name=, #name_from_filename=, #position, #position=, #printf, #puts, #seek, #set_error, #size, #size=, #tell, unwrap, #vprintf, wrap, #write
Constructor Details
#initialize ⇒ Gsf::Output
Returns a new file.
Instance Method Details
#bytes ⇒ Array<Integer>
Returns The data that has been written to mem.
#steal_bytes ⇒ Array<Integer>
The caller takes ownership and the buffer belonging to mem is set to nil.