BorshOptionSizedCodec<T> constructor

const BorshOptionSizedCodec<T>(
  1. BorshCodecFixedSized<T> subtype,
  2. BorshOptionType? type
)

Creates a codec for optional values.

Implementation

const BorshOptionSizedCodec(super.subtype, super.type);