applyToBuffer method

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

Implementation

@override
void applyToBuffer(ByteDataWriter buffer) {
  buffer.writeUint8(ClientMessage.DescribeIdentifier);
  final length = 6 + _name.byteLength;
  buffer.writeUint32(length);
  buffer.writeUint8(_isPortal ? $P : $S);
  _name.applyToBuffer(buffer); // Name of prepared statement
}