writeRawBuffer method

Future<void> writeRawBuffer(
  1. List<int> buffer
)

Writes a JSON value from a raw buffer of bytes, this buffer must contain a valid UTF-8 encoded json object.

Implementation

Future<void> writeRawBuffer(List<int> buffer) async {
  if (_startValue()) {
    await _writeRawString(',');
  }
  await _writeRawBuffer(buffer);
  await _endValue();
}