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);
}