Transcoder class abstract Key-Value

A transcoder is responsible for encoding and decoding document values to and from raw bytes.

Along with the raw bytes a document stores a set of flags which indicate the format of the raw bytes. A transcoder uses these flags to determine how to decode the raw bytes into a Dart value.

Implementers

Constructors

Transcoder()
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

Methods

decode(EncodedDocumentData data) Object?
Decodes the given EncodedDocumentData into a Dart value.
encode(Object? value) EncodedDocumentData
Encodes the given value into EncodedDocumentData.
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