BorshRustEnumEncoder<T>  class 
 
Rust Enum Encoder
An encoder for fixed-length arrays with multiple data types.
- Inheritance
- 
    - Object
- Converter<RustEnum< T> , Iterable<int> >
- BorshEncoder<RustEnum< T> >
- BorshRustEnumTypedEncoder<T, BorshCodec< T> >
- BorshRustEnumEncoder
 
Constructors
- 
          BorshRustEnumEncoder(List<BorshCodec< variants)T> ?>
- 
          Creates an encoder for fixed-length arrays with multiple data types.
            const
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  variants
  → List<BorshCodec< T> ?>
- 
  The enum variants codecs.
  finalinherited
Methods
- 
  bind(Stream< RustEnum< stream) → Stream<T> >Iterable< int> >
- 
  Transforms the provided stream.inherited
- 
  cast<RS, RT> () → Converter< RS, RT> 
- 
  Provides a Converter<RS, RT>view of this stream transformer.inherited
- 
  convert(RustEnum< T> input) → Iterable<int> 
- 
  Encodes inputto byte data.inherited
- 
  fuse<TT> (Converter< Iterable< other) → Converter<int> , TT>RustEnum< T> , TT>
- 
  Fuses thiswithother.inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  pack(BufferWriter buffer, RustEnum input) → void 
- 
  Writes inputtobuffer.inherited
- 
  startChunkedConversion(Sink< Iterable< sink) → Sink<int> >RustEnum< T> >
- 
  Starts a chunked conversion.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited