diff options
author | Sven Gothel <[email protected]> | 2014-02-21 12:25:36 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-02-21 12:25:36 +0100 |
commit | 4447232af0d95a4348d09d4ed03fbef48394ca3a (patch) | |
tree | 22f385831ee15bb09771ed63421b276e849064f7 /src/junit/com/jogamp/common/util/BitstreamData.java | |
parent | dac8d11f68ffa3a35fedeab879132c5d9aa4907c (diff) |
Bug 980: Refine Bitstream API 'signed' and 'unsigned' semantics - readUInt32(..) must return long due to EOF
Diffstat (limited to 'src/junit/com/jogamp/common/util/BitstreamData.java')
-rw-r--r-- | src/junit/com/jogamp/common/util/BitstreamData.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/junit/com/jogamp/common/util/BitstreamData.java b/src/junit/com/jogamp/common/util/BitstreamData.java index 5a8bd46..a434053 100644 --- a/src/junit/com/jogamp/common/util/BitstreamData.java +++ b/src/junit/com/jogamp/common/util/BitstreamData.java @@ -115,9 +115,4 @@ public class BitstreamData { final int nibbles = 0 == bitCount ? 2 : ( bitCount + 3 ) / 4; return String.format("[%0"+nibbles+"X, %s]", v, toBinaryString(v, bitCount)); } - public static String toUnsignedBinaryString(final int int32) { - final long l = Bitstream.toUInt32Long(int32); - final int i = Bitstream.toUInt32Int(int32); - return "(long)"+l+", (int)"+i+", "+toHexBinaryString(l, 32); - } } |