ByteCodec class

Constructors

ByteCodec({int textEncodingByte = 0x00})
textEncodingByte: codec type

Properties

codecType ByteCodecType
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(List<int> bytes, {ByteCodecType? forceType}) String
encode(String string, {int? limitByteLength, ByteCodecType? forceType}) List<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBytesUtilTerminator(List<int> bytes, {List<int>? terminator}) SubBytes
toString() String
A string representation of this object.
inherited
transferToLength(List<int> bytes, {int? byteLength}) List<int>
Convert bytes to bytes of specified length

Operators

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