createRequest method

Uint8List createRequest()
override

Constructs and returns a request command packet.

Implementation

Uint8List createRequest() {
  var buffer = FixedWriteBuffer(5);
  buffer.byte = COM_STMT_CLOSE;
  buffer.uint32 = _handle!;
  return buffer.data;
}