Method: BinData::IO::Read::UnSeekableStream#num_bytes_remaining

Defined in:
lib/bindata/io.rb

#num_bytes_remainingObject

The number of bytes remaining in the input stream.

Raises:

  • (IOError)


232
233
234
# File 'lib/bindata/io.rb', line 232

def num_bytes_remaining
  raise IOError, "stream is unseekable"
end