pad method

void pad(
  1. int howManyBytes
)

Zero-pads the buffer, which may be required for some struct layouts.

Implementation

void pad(int howManyBytes) {
  for (int i = 0; i < howManyBytes; i++) putUint8(0);
}