@Test
public void sameCalculation() {

    assertEquals(
        DigestUtil.calculateCrc16(new byte[]{47, 99}),
        DigestUtil.calculateCrc16(() -> Unpooled.wrappedBuffer(new byte[]{47}), () -> Unpooled.wrappedBuffer(new byte[]{99})));
}