pad method
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);
}
Zero-pads the buffer, which may be required for some struct layouts.
void pad(int howManyBytes) {
for (int i = 0; i < howManyBytes; i++) putUint8(0);
}