call method

BorshStructCodec call(
  1. BorshSchema schema
)

Creates a struct codec.

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

Implementation

BorshStructCodec call(
  final BorshSchema schema,
) =>
    BorshStructCodec(schema);