applyToBuffer method

  1. @override
void applyToBuffer(
  1. ByteDataWriter buffer
)
override

Implementation

@override
void applyToBuffer(ByteDataWriter buffer) {
  buffer.writeUint8(ClientMessage.QueryIdentifier);
  final length = 5 + _queryString.byteLength;
  buffer.writeUint32(length);
  _queryString.applyToBuffer(buffer);
}