encode method

  1. @override
Uint8List encode()
override

Implementation

@override
Uint8List encode() {
  final buffer = ByteDataWriter(endian: Endian.little);

  // command type
  buffer.writeUint8(0x19);
  buffer.writeUint32(stmtID);

  return buffer.toBytes();
}