bcs_type
library
Functions
-
bigUIntBcsType({required String name, required int size, required String readMethod, required String writeMethod, required BigInt maxValue, void validate(BigInt)?})
→ BcsType<BigInt, dynamic>
-
-
dynamicSizeBcsType<T, Input>({required String name, required T read(BcsReader), required Uint8List serialize(Input, {BcsWriterOptions? options}), void validate(Input)?})
→ BcsType<T, Input>
-
-
fixedSizeBcsType<T, Input>({required String name, required int size, required T read(BcsReader), required void write(Input, BcsWriter), void validate(Input)?})
→ BcsType<T, Input>
-
-
lazyBcsType<T, Input>(BcsType<T, Input> cb())
→ BcsType<T, Input>
-
-
stringLikeBcsType({required String name, required Uint8List toBytes(String), required String fromBytes(Uint8List), int? serializedSize(dynamic, {BcsWriterOptions? options})?, void validate(String)?})
→ BcsType<String, dynamic>
-
-
uIntBcsType({required String name, required int size, required String readMethod, required String writeMethod, required int maxValue, void validate(int)?})
→ BcsType<int, dynamic>
-