EventSerializer<TEvent extends Object> class
abstract
- Implementers
Constructors
Properties
- contentType → String
-
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, String type) → TEvent -
Deserialize
event
into a Event of giventype
-
encode(
TEvent event) → List< int> -
Serialize
event
into data. -
encodeMetaData(
Metadata event) → List< int> -
Serialize
metadata
into data. -
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