BorshOptionSizedEncoder<T> constructor

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

Creates an encoder for optional values.

Implementation

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