MessagePackWriter class
Constructors
-
MessagePackWriter([BytesBuilder? builder, List<
int> ? initialData])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
takeBytes(
) → Uint8List -
toString(
) → String -
A string representation of this object.
inherited
-
write(
dynamic value) → void -
writeArray(
List? array) → void -
writeArrayHeader(
int count) → void -
writeBinary(
Uint8List? value) → void -
writeBinHeader(
int length) → void -
writeBoolean(
bool? value) → void -
writeByteBuffer(
ByteBuffer buffer) → void -
writeByteData(
ByteData data) → void -
writeDateTime(
DateTime? dateTime) → void -
writeDouble(
double? value) → void -
writeExtensionFormat(
ExtensionResult extensionData) → void -
writeExtensionFormatHeader(
ExtensionHeader extensionHeader) → void -
writeFloat(
double? value) → void -
writeInt(
int? value) → void -
writeMap(
Map? map) → void -
writeMapHeader(
int count) → void -
writeMessage(
MessagePackObject message) → void -
writeNil(
) → void -
writeNum(
num? value) → void -
writeRaw(
Uint8List rawMessagePackBlock) → void -
writeRawString(
Uint8List rawString) → void -
writeString(
String? string, {Encoding encoding = utf8}) → void -
writeStringHeader(
int byteCount) → void -
writeTypedData(
TypedData data) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getEncodedLength(
int value) → int