Class: Gsf::InputProxy
Instance Method Summary collapse
-
#initialize(source, offset, size) ⇒ Gsf::Input
constructor
This creates a new proxy to a section of the given source.
Methods inherited from Input
#container, #container=, #copy, #dump, #dup, #eof, #eof=, #eof?, error_id, #find_vba, #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
#initialize(source, offset, size) ⇒ Gsf::Input
This creates a new proxy to a section of the given source. The new object will have its own current position, but any operation on it can change the source's position.
If a proxy to a proxy is created, the intermediate proxy is short- circuited.
This function will ref the source.