write method

void write(
  1. OutputStreamBase output
)

Implementation

void write(OutputStreamBase output) {
  output.writeUint32(getSize());

  for (final sb in signingBlocks) {
    output.writeUint32(sb.getSize()); // Uint64?? 4 bytes
    writeID(output); // 4 bytes
    sb.write(output);
  }
  output.writeUint32(getSize());
  output.writeBytes('RPK Sig Block 42'.plainToU8a(), 16);
}