long L1 = ByteBuffer.wrap(o1).order(ByteOrder.LITTLE_ENDIAN).getLong();
long L2 = ByteBuffer.wrap(o2).order(ByteOrder.LITTLE_ENDIAN).getLong();
return Long.valueOf(L1).compareTo(Long.valueOf(L2));
}
public String getString(byte[] bytes)
<BUG>{
if (bytes.length != 8)</BUG>
{
throw new MarshalException("A long is exactly 8 bytes");
}

long L1 = ByteBuffer.wrap(o1).order(ByteOrder.LITTLE_ENDIAN).getLong();
long L2 = ByteBuffer.wrap(o2).order(ByteOrder.LITTLE_ENDIAN).getLong();
return Long.valueOf(L1).compareTo(Long.valueOf(L2));
}
public String getString(byte[] bytes)
{
if (bytes.length == 0)
{
return "";
}
if (bytes.length != 8)
{
throw new MarshalException("A long is exactly 8 bytes");
}
