CommitMessage constructor

CommitMessage(
  1. Uint8List bytes
)

Implementation

CommitMessage(Uint8List bytes) {
  final reader = ByteDataReader()..add(bytes);
  // reading order matters
  flags = reader.readUint8();
  commitLSN = reader.readLSN();
  transactionEndLSN = reader.readLSN();
  commitTime = reader.readTime();
}