3132333435363738394041
.appendByte(1) // format tag .appendByte(12) // p .appendByte(0); // baseline for (int i = 0; i < 1 << (12 - 1); i++) { expected.appendByte(0); } // overflow bucket expected.appendByte(0xff) .appendByte(0xff);
3536373839404142434445
for (int i = 0; i < 1 << (12 - 1); i++) { expected.appendByte(0); } // overflow bucket expected.appendByte(0xff) .appendByte(0xff); // overflow value expected.appendByte(0);
3940414243444546474849
// overflow bucket expected.appendByte(0xff) .appendByte(0xff); // overflow value expected.appendByte(0); assertSlicesEqual(makeHll(12).serialize(), expected.slice()); } @Test