BackendKeyMessage.parse constructor

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

Implementation

@internal
factory BackendKeyMessage.parse(PgByteDataReader reader) {
  final processId = reader.readUint32();
  final secretKey = reader.readUint32();
  return BackendKeyMessage._(processId, secretKey);
}