ledger_flutter_plus_dart library

Classes

ByteDataReader
A class for parsing byte arrays.
ByteDataWriter
A class for building byte arrays with a BytesBuffer and a fixed-length work buffer.
BytesBuffer
A class for concatenating byte arrays efficiently.
HexCodec
A codec for encoding and decoding byte arrays to and from hexadecimal strings.
HexDecoder
A converter to decode hexadecimal strings into byte arrays.
HexEncoder
A converter to encode byte arrays into hexadecimal strings.
LedgerComplexOperation<T>
LedgerOperation<T>
LedgerRawOperation<T>
LedgerSimpleOperation
LedgerTransformer

Constants

hex → const HexCodec
An instance of the default implementation of the HexCodec.

Properties

debugPrintEnabled bool
getter/setter pair

Functions

castBytes(List<int> bytes, {bool copy = false}) Uint8List
Cast the list of bytes into a typed Uint8List.
readAsBytes(Stream<List<int>> stream, {int? maxLength, bool copy = false}) Future<Uint8List>
Read stream into a typed byte buffer.
sliceStream(Stream<List<int>> stream, int sliceLength, {int? maxLength, bool copy = false}) Stream<Uint8List>
Read stream and slice the content into chunks with target/max length of sliceLength.

Typedefs

LedgerSendFct = Future<Y> Function<Y>(LedgerRawOperation<Y> operation)