Module: RLP

Extended by:
RLP
Includes:
Decode, DecodeLazy, Encode
Included in:
RLP
Defined in:
lib/rlp/data.rb,
lib/rlp.rb,
lib/rlp/utils.rb,
lib/rlp/error.rb,
lib/rlp/sedes.rb,
lib/rlp/decode.rb,
lib/rlp/encode.rb,
lib/rlp/version.rb,
lib/rlp/constant.rb,
lib/rlp/lazy_list.rb,
lib/rlp/sedes/raw.rb,
lib/rlp/sedes/list.rb,
lib/rlp/decode_lazy.rb,
lib/rlp/sedes/binary.rb,
lib/rlp/sedes/serializable.rb,
lib/rlp/sedes/big_endian_int.rb,
lib/rlp/sedes/countable_list.rb

Overview

A wrapper to represent already RLP encoded data

Defined Under Namespace

Modules: Constant, Decode, DecodeLazy, Encode, Error, Sedes, Utils Classes: Data, LazyList

Constant Summary collapse

VERSION =
'0.5.0'

Constants included from Constant

Constant::BYTE_EMPTY, Constant::BYTE_ZERO, Constant::LIST_PREFIX_OFFSET, Constant::LONG_LENGTH_LIMIT, Constant::PRIMITIVE_PREFIX_OFFSET, Constant::SHORT_LENGTH_LIMIT

Method Summary

Methods included from DecodeLazy

#consume_item_lazy, #decode_lazy, #peek

Methods included from Decode

#decode

Methods included from Utils

#big_endian_to_int, #bytes_to_str, #encode_hex, #int_to_big_endian, #list?, make_immutable!, #primitive?, #str_to_bytes

Methods included from Encode

#encode