applyToBuffer method

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

Implementation

@override
void applyToBuffer(PgByteDataWriter buffer) {
  buffer.writeUint8(ClientMessageId.execute);
  final portalName = buffer.encodeString(_portalName);
  buffer.writeUint32(9 + portalName.bytesLength);
  buffer.writeEncodedString(portalName);
  buffer.writeUint32(0);
}