        @Test
    public void testAppendByteArrayAsHex2()
        {

        StringBuilder sb = new StringBuilder();
        Assert.assertEquals(sb, appendByteArrayAsHex(sb, new byte[] {0x01, (byte) 0xFF, 0x78, 0x5A}, 1, 2));
        Assert.assertEquals(sb.toString(), "FF78");
        }