decode static method

Implementation

static InitialSubscriptionMessage decode(BsatnDecoder decoder) {
  final tableUpdates = decoder.readList(() => TableUpdate.decode(decoder));
  final requestId = decoder.readU32();
  final duration = decoder.readU64();

  return InitialSubscriptionMessage(
    tableUpdates: tableUpdates,
    requestId: requestId,
    totalHostExecutionDurationMicros: duration,
  );
}