aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rdr/InStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/rdr/InStream.java')
-rw-r--r--java/com/tigervnc/rdr/InStream.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/java/com/tigervnc/rdr/InStream.java b/java/com/tigervnc/rdr/InStream.java
index 60967991..a18ea4ed 100644
--- a/java/com/tigervnc/rdr/InStream.java
+++ b/java/com/tigervnc/rdr/InStream.java
@@ -107,16 +107,6 @@ abstract public class InStream {
}
}
- public void readBytes(int[] data, int dataPtr, int length) {
- int dataEnd = dataPtr + length;
- while (dataPtr < dataEnd) {
- int n = check(1, dataEnd - dataPtr, true);
- System.arraycopy(b, ptr, data, dataPtr, n);
- ptr += n;
- dataPtr += n;
- }
- }
-
// readOpaqueN() reads a quantity "without byte-swapping". Because java has
// no byte-ordering, we just use big-endian.