Method: Codec::Prefixedlength#initialize
- Defined in:
- lib/codec/prefix.rb
#initialize(length, content) ⇒ Prefixedlength
Returns a new instance of Prefixedlength.
3 4 5 6 7 |
# File 'lib/codec/prefix.rb', line 3 def initialize(length,content) # TODO : Check that value_codec has a null length attribute @length_codec = length @value_codec = content end |