PrimaryKeepAliveMessage constructor

PrimaryKeepAliveMessage(
  1. Uint8List bytes
)

Implementation

PrimaryKeepAliveMessage(Uint8List bytes) {
  final reader = ByteDataReader()..add(bytes);
  walEnd = LSN(reader.readUint64());
  time = dateTimeFromMicrosecondsSinceY2k(reader.readUint64());
  mustReply = reader.readUint8() != 0;
}