@Test
public void ofLong() {

    assertByte(ReadLength.of(1), "0x01000000");
    assertByte(ReadLength.of(65535), "0xffff0000");
    assertThrows(IllegalArgumentException.class, () -> ReadLength.of(-1));
    assertThrows(IllegalArgumentException.class, () -> ReadLength.of(4294967296L));
}