write method
Writes a dynamic value into the buffer
d
: the value to write
Implementation
@override
void write(dynamic d) {
if (!_writeObject(d)) {
try {
_writeEncodable(_toEncodable(d));
} on NoSuchMethodError {
throw MsgPackUnsupportedObjectError(d);
}
}
}