public static void writeUnsignedIntLittleEndian(long data, ByteArrayOutputStream out) {
        out.write((byte) (data & 0xFF));
        out.write((byte) (data >>> 8));
        out.write((byte) (data >>> 16));
        out.write((byte) (data >>> 24));
    }
@Test
	public void testWriteUnsignedIntLittleEndian() {
		ByteArrayOutputStream out = new ByteArrayOutputStream();
		ByteHelper.writeUnsignedIntLittleEndian(50_332_648L, out);

		Assert.assertArrayEquals(new byte[] {-24, 3, 0, 3}, out.toByteArray());
	}