writeArrayHeader method
Implementation
void writeArrayHeader(int count) {
if (count <= MessagePackRange.maxFixArrayCount) {
_bytesBuilder.addByte(MessagePackCode.minFixArray | count);
} else if (count <= _maxUint16) {
_bytesBuilder.addByte(MessagePackCode.array16);
_writeBigEndianShort(count);
} else {
_bytesBuilder.addByte(MessagePackCode.array32);
_writeBigEndianInt(count);
}
}