encode static method

Uint8List encode(
  1. List<WalOp> ops
)

Encodes ops into a frame payload.

Implementation

static Uint8List encode(List<WalOp> ops) {
  final out = Uint8List(encodedSize(ops));
  encodeInto(out, 0, ops);
  return out;
}