writeBase64 method

void writeBase64(
  1. Uint8Buffer data
)

Tag based Base64 byte string encoding. The encoder does not itself perform the base encoding as stated in RFC7049, it just indicates to the decoder that the following byte string maybe base encoded.

Implementation

void writeBase64(typed.Uint8Buffer data) {
  _writeTag(tagExpectedBase64);
  _writeBytes(data);
  _builderHookImpl(false);
}