vecSized<T> method
Creates an vec
codec.
A codec can encode/decode data types to/from byte arrays Iterable<u8>
and Buffer
s.
Implementation
BorshVecSizedCodec<T> vecSized<T>(
final BorshCodecFixedSized<T> subtype,
final int capacity,
) => BorshVecSizedCodec(subtype, capacity);