Update Java structure packing implementation.
Add a first JUnit test case, and associated autoconf files.
This commit is contained in:
@@ -32,6 +32,6 @@ class PackUtil {
|
||||
public static byte GET_BITS(long x, int start, int end) {
|
||||
return (byte)((x & ((1 << start) - 1)) >> end);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user