@Test
public void testCalcPacketLength() {

    byte[] test = new byte[]{0x0f, 0x10, 0x43};
    byte[] expected = new byte[]{0x00, 0x00, 0x00, 0x03};
    assertArrayEquals(expected, ByteUtil.calcPacketLength(test));
}