Manually keep track of offset for unseekable streams.
The number of bytes remaining in the input stream.
# File lib/bindata/io.rb, line 232 def num_bytes_remaining raise IOError, "stream is unseekable" end
Returns the current offset of the io stream. The exact value of the offset when reading bitfields is not defined.
# File lib/bindata/io.rb, line 227 def offset @read_count ||= 0 end
[Validate]
Generated with the Darkfish Rdoc Generator 2.