Module: Ciri::RLP::Decode

Defined in:
lib/ciri/rlp/decode.rb

Defined Under Namespace

Classes: InvalidInput

Class Method Summary collapse

Class Method Details

.decode(input) ⇒ Object


34
35
36
37
# File 'lib/ciri/rlp/decode.rb', line 34

def decode(input)
  s = StringIO.new(input).binmode
  decode_stream(s)
end