NotificationResponseMessage.parse constructor

  1. @internal
NotificationResponseMessage.parse(
  1. PgByteDataReader reader
)

Implementation

@internal
factory NotificationResponseMessage.parse(PgByteDataReader reader) {
  final processID = reader.readUint32();
  final channel = reader.readNullTerminatedString();
  final payload = reader.readNullTerminatedString();
  return NotificationResponseMessage._(processID, channel, payload);
}