Module: ScaleRb::Codec

Extended by:
Decode, Encode
Defined in:
lib/scale_rb/codec.rb

Defined Under Namespace

Classes: ArrayLengthNotEqual, CompositeInvalidValue, Error, InvalidBytesError, LengthNotEqualErr, NotEnoughBytesError, TypeNotFound, TypeNotImplemented, Unreachable, VariantFieldsLengthNotMatch, VariantIndexOutOfRange, VariantInvalidValue, VariantItemNotFound

Constant Summary

Constants included from Types

Types::DecodeResult, Types::HashMap, Types::Hex, Types::PortableType, Types::Primitive, Types::Registry, Types::Ti, Types::TypedArray, Types::U8, Types::U8Array, Types::UnsignedInteger, Types::VariantKind

Method Summary

Methods included from Decode

decode, decode_array, decode_compact, decode_primitive, decode_sequence, decode_struct, decode_tuple, decode_variant

Methods included from TypeEnforcer

#__, extended, #method_added

Methods included from Encode

encode, encode_array, encode_compact, encode_primitive, encode_sequence, encode_struct, encode_tuple, encode_variant