Class: Gsf::OutputMemory

Inherits:
Output
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

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

#initializeGsf::Output

Returns a new file.

Instance Method Details

#bytesArray<Integer>

Returns The data that has been written to mem.

Returns:

  • (Array<Integer>)

    The data that has been written to mem

#steal_bytesArray<Integer>

The caller takes ownership and the buffer belonging to mem is set to nil.

Returns:

  • (Array<Integer>)

    The data that has been written to mem.