@Test
public void testWriteRawLittleEndian64()
{

    byte[] buf = new byte[10];
    Assert.assertEquals(8,
        ProtobufOutput.writeRawLittleEndian64(0x1A2B3C4D1A2B3C4DL, buf, 1));
    Assert.assertArrayEquals(
        new byte[]{0, 0x4D, 0x3C, 0x2B, 0x1A, 0x4D, 0x3C, 0x2B, 0x1A, 0},
        buf);
}