Method: BinaryCodec::STObject#initialize

Defined in:
lib/binary-codec/types/st_object.rb

#initialize(byte_buf = nil) ⇒ STObject

attr_reader :type, :bytes



14
15
16
# File 'lib/binary-codec/types/st_object.rb', line 14

def initialize(byte_buf = nil)
  @bytes = byte_buf || Array.new(0)
end