EncoderConfig class

EncoderConfig config for encoder.

Constructors

EncoderConfig({required int lengthFieldLength, required int lengthAdjustment, required bool lengthIncludesLengthFieldLength})

Properties

hashCode int
The hash code for this object.
no setterinherited
lengthAdjustment int
LengthAdjustment is the compensation value to add to the value of the length field
getter/setter pair
lengthFieldLength int
LengthFieldLength is the length of the length field.
getter/setter pair
lengthIncludesLengthFieldLength bool
// LengthIncludesLengthFieldLength is true, the length of the prepended length field is added to the value of the prepended length field
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited