BytesWriter constructor
BytesWriter({
- Encoding? stringEncoder,
Builds a new BytesWriter
stringEncoder
: A optional string encoder, defaults to Utf8Codec
Implementation
BytesWriter({Encoding? stringEncoder})
: _stringEncoder = stringEncoder ?? Utf8Codec();