layout/core/core library
Classes
-
BaseIntiger<
T> -
BaseLazyStructLayoutBuilder<
T, R extends LayoutRepository> - BigIntLayout
- Represents a layout for big integers.
- BitSequenceLayout
- CompactBigIntLayout
- CompactBytes
- CompactIntLayout
- CompactOffsetLayout
-
ConstantLayout<
T> - A class representing a constant layout within a buffer.
-
COptionLayout<
T> -
CustomLayout<
T, D> - DoubleLayout
- Represents a layout for double-precision floating point numbers.
- ExternalLayout
- Represents an external layout.
- ExternalOffsetLayout
- GreedyCount
- Represents a layout that greedily consumes bytes until the end.
- IntegerLayout
- Represents a layout for integers.
-
Layout<
T> -
LayoutDecodeResult<
T> - LayoutRepository
-
LazyStructLayout<
R extends LayoutRepository> -
LazyStructLayoutBuilder<
T, R extends LayoutRepository> - LazyUnion
- LazyVariantLayout
-
LazyVariantModel<
T> - LEB128U32OffsetLayout
- A layout class for handling LEB128 (Little Endian Base 128) encoded integers.
- LEBBigIntegerLayout
- A layout class for encoding and decoding integers
- LEBIntegerLayout
- A layout class for encoding and decoding integers
- MapEntryLayout
- Represents the layout for a key-value pair in a map.
-
NoneLayout<
T> - Represents a layout with no data.
- OffsetLayout
- Represents an offset layout.
-
OptionalLayout<
T> - Represents a layout for optional values.
-
PaddingLayout<
T> - RawBytesLayout
- A class representing a blob layout within a buffer.
-
RequestLayoutParams<
R extends LayoutRepository> -
SequenceLayout<
T> - Represent a contiguous sequence of a specific layout as an Array.
- StructLayout
- Represent a contiguous sequence of arbitrary layout elements as an Object.
- TupleLayout
- Represents a layout for tuples.
- Union
- Represent any number of span-compatible layouts.
- VariantLayout
- Represent a specific variant within a containing union.
- VarintIntLayout
- VarintOffsetLayout
- XDRBytesLayout
- A class representing a blob layout within a buffer.
Enums
Typedefs
-
ConditionalLayoutFunc<
T> = Layout< T> Function(String? property, RequestLayoutParams<LayoutRepository> params) -
GetLayoutSpan
= List<
int> Function(int) -
LayoutFunc<
T> = Layout< T> Function({String? property}) -
ONFINALIZEDECODE<
T, R extends LayoutRepository> = dynamic Function(T layoutResult, Map< String, dynamic> structResult, R? repository) -
ONFINALIZEENCODE<
T, R extends LayoutRepository> = void Function(T source, Map< String, dynamic> structSource, R? repository) -
ONGETENUMINDEX
= int Function(Map<
String, dynamic> source) -
ONNORMALIZEDECODERESULT
= Map<
String, dynamic> Function(Map<String, dynamic> result, int variant) -
WrappedLayoutDecoder<
T, D> = D Function(T value) - Represents a custom layout with customized encoding and decoding functions.
-
WrappedLayoutEncoder<
T, D> = T Function(D source)