public static boolean isZero(byte[] bytes, int startPos, int length) {
        return !hasUnsafe() || !unalignedAccess() ?
                isZeroSafe(bytes, startPos, length) :
                PlatformDependent0.isZero(bytes, startPos, length);
    }
@Test
    public void testIsZero() {
        byte[] bytes = new byte[100];
        assertTrue(PlatformDependent.isZero(bytes, 0, 0));
        assertTrue(PlatformDependent.isZero(bytes, 0, -1));
        assertTrue(PlatformDependent.isZero(bytes, 0, 100));
        assertTrue(PlatformDependent.isZero(bytes, 10, 90));
        bytes[10] = 1;
        assertTrue(PlatformDependent.isZero(bytes, 0, 10));
        assertFalse(PlatformDependent.isZero(bytes, 0, 11));
        assertFalse(PlatformDependent.isZero(bytes, 10, 1));
        assertTrue(PlatformDependent.isZero(bytes, 11, 89));
    }