structSized method

BorshStructSizedCodec structSized(
  1. BorshSchemaSized schema
)

Creates a struct codec for fixed size data types.

A codec can encode/decode data types to/from byte arrays Iterable<u8> and Buffers.

Implementation

BorshStructSizedCodec structSized(
  final BorshSchemaSized schema,
) => BorshStructSizedCodec(schema);