encodeTo method

  1. @override
void encodeTo(
  1. TypeDefCompact typeDef,
  2. Output output
)
override

Convert self to a slice and append it to the destination.

Implementation

@override
void encodeTo(TypeDefCompact typeDef, Output output) {
  TypeIdCodec.codec.encodeTo(typeDef.type, output);
}