register<T> method
Implementation
void register<T>(MessagePackExtensionCodec<T> codec) {
if (codec.type < 0 || codec.type > 128) {
throw ArgumentError.value(codec.type);
}
_register(codec);
}
void register<T>(MessagePackExtensionCodec<T> codec) {
if (codec.type < 0 || codec.type > 128) {
throw ArgumentError.value(codec.type);
}
_register(codec);
}