Layout<T> class
abstract
Base class for layout objects.
NOTE: This is an abstract base class; you can create instances if it amuses you, but they won't support the encode or decode functions.
- Implementers
- BaseIntiger
- BitSequenceLayout
- CompactBigIntLayout
- CompactBytes
- CompactIntLayout
- CompactLayout
- ConstantLayout
- COptionLayout
- CustomLayout
- DoubleLayout
- ExternalLayout
- LazyStructLayout
- LazyUnion
- LazyVariantLayout
- MapEntryLayout
- NoneLayout
- OptionalLayout
- PaddingLayout
- RawBytesLayout
- SequenceLayout
- StructLayout
- TupleCompactLayout
- TupleLayout
- Union
- UnionDiscriminatorLayout
- VariantLayout
- XDRBytesLayout
Properties
Methods
-
clone(
{String? newProperty}) → Layout -
decode(
LayoutByteReader bytes, {int offset = 0}) → LayoutDecodeResult< T> -
deserialize(
List< int> bytes) → LayoutDecodeResult<T> -
encode(
T source, LayoutByteWriter writer, {int offset = 0}) → int -
getSpan(
LayoutByteReader? bytes, {int offset = 0, T? source}) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
T source) → List< int> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited