EncodedValue class
Represents the bytes of a received (field) or sent (parameter) value.
The format describes whether the bytes are formatted as text (e.g. 12
)
or bytes (e.g. 0x0c
).
Constructors
- EncodedValue.new(Uint8List? bytes, {required EncodingFormat format, int? typeOid})
- EncodedValue.binary(Uint8List? bytes, {int? typeOid})
- EncodedValue.null$({EncodingFormat format = EncodingFormat.binary, int? typeOid})
- EncodedValue.text(Uint8List? bytes, {int? typeOid})
Properties
- bytes → Uint8List?
-
The encoded bytes of the value.
final
- format → EncodingFormat
-
The format of the bytes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBinary → bool
-
no setter
- isText → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeOid → int?
-
The type OID - if available.
final
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