BinStream::Decoder (Module)

In: ruby/bstream.rb

Methods

read   read_block  

Public Instance methods

  • type, value = read(input)
  • input: IO object.
  • return: content type and value object
  • read_block(input) { |type, value| … }
  • input: IO object.
  • yield: content type and value object
  • return: read buffer length

[Validate]