Module: Klay::Rlp
- Extended by:
- Rlp
- Included in:
- Rlp
- Defined in:
- lib/klay/rlp.rb,
lib/klay/rlp/sedes.rb,
lib/klay/rlp/decoder.rb,
lib/klay/rlp/encoder.rb,
lib/klay/rlp/sedes/list.rb,
lib/klay/rlp/sedes/binary.rb,
lib/klay/rlp/sedes/big_endian_int.rb
Overview
Provides an recursive-length prefix (RLP) encoder and decoder.
Defined Under Namespace
Modules: Decoder, Encoder, Sedes Classes: Data, DecodingError, DeserializationError, EncodingError, RlpException, SerializationError
Class Method Summary collapse
-
.decode(rlp) ⇒ Object
Performes an Decoder on any RLP-encoded item.
-
.encode(obj) ⇒ String
Performes an Encoder on any ruby object.
Instance Method Summary collapse
-
#decode(rlp) ⇒ Object
Performes an Decoder on any RLP-encoded item.
-
#encode(obj) ⇒ String
Performes an Encoder on any ruby object.