Class: Gio::MemoryInputStream
- Inherits:
-
InputStream
- Object
- InputStream
- Gio::MemoryInputStream
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add_bytes(bytes) ⇒ nil
Appends bytes to data that can be read from the input stream.
-
#add_data(data, len, destroy) ⇒ nil
Appends data to data that can be read from the input stream.
-
#initialize(data, len, destroy) ⇒ Gio::InputStream
constructor
Creates a new GMemory::InputStream with data in memory of a given size.
Methods inherited from InputStream
#clear_pending, #close, #close_async, #close_finish, #has_pending, #is_closed, open, #read, #read_all, #read_all_async, #read_all_finish, #read_all_raw, #read_async, #read_bytes, #read_bytes_async, #read_bytes_finish, #read_finish, #read_raw, #set_pending, #skip, #skip_async, #skip_finish
Constructor Details
#initialize(data, len, destroy) ⇒ Gio::InputStream
Creates a new GMemory::InputStream with data in memory of a given size.
Instance Method Details
#add_bytes(bytes) ⇒ nil
Appends bytes to data that can be read from the input stream.
#add_data(data, len, destroy) ⇒ nil
Appends data to data that can be read from the input stream