encode method
Writes data
into the buffer
.
Implementation
@override
void encode(String data, LengthTrackingByteSink buffer) {
const DynamicBytes().encode(uint8ListFromList(utf8.encode(data)), buffer);
}
Writes data
into the buffer
.
@override
void encode(String data, LengthTrackingByteSink buffer) {
const DynamicBytes().encode(uint8ListFromList(utf8.encode(data)), buffer);
}