AuthenticationMessage.parse constructor

  1. @internal
AuthenticationMessage.parse(
  1. PgByteDataReader reader,
  2. int length
)

Implementation

@internal
factory AuthenticationMessage.parse(PgByteDataReader reader, int length) {
  final type = reader.readUint32();
  return AuthenticationMessage._(type, reader.read(length - 4));
}