BorshRustEnumDecoder<T>  class 
 
Rust Enum Decoder
A decoder for fixed-length arrays with multiple data types.
- Inheritance
- 
    - Object
- Converter<Iterable< int> , RustEnum<T> >
- BorshDecoder<RustEnum< T> >
- BorshRustEnumTypedDecoder<T, BorshCodec< T> >
- BorshRustEnumDecoder
 
Constructors
- 
          BorshRustEnumDecoder(List<BorshCodec< variants)T> ?>
- 
          Creates a decoder 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< Iterable< stream) → Stream<int> >RustEnum< T> >
- 
  Transforms the provided stream.inherited
- 
  cast<RS, RT> () → Converter< RS, RT> 
- 
  Provides a Converter<RS, RT>view of this stream transformer.inherited
- 
  convert(Iterable< int> input) → RustEnum<T> 
- 
  Decodes Tfrominput.inherited
- 
  fuse<TT> (Converter< RustEnum< other) → Converter<T> , TT>Iterable< int> , TT>
- 
  Fuses thiswithother.inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  startChunkedConversion(Sink< RustEnum< sink) → Sink<T> >Iterable< int> >
- 
  Starts a chunked conversion.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  unpack(BufferReader buffer) → RustEnum< T> 
- 
  Reads Tfrombuffer.inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited