public static int compareAsLong(final long left, final ByteBuffer right) {
        return compareAsLong(left, right, 0);
    }
Compare two {@link ByteBuffer} objects as if they are longs

@param left     A {@link ByteBuffer} representing a long
@param leftPos  The absolute position of the long in the the left {@link ByteBuffer}
@param right    A {@link ByteBuffer} representing a long
@param rightPos The absolute position of the long in the the right {@link ByteBuffer}
@return The result of the comparison, 0 if identical, <0 if left < right,
>0 if left < right
stroom-bytebuffer/src/main/java/stroom/bytebuffer/ByteBufferUtils.java