summaryrefslogtreecommitdiffstats
path: root/simple/simple-common/src/test/java/org/simpleframework/common/buffer/queue/ByteQueue.java
diff options
context:
space:
mode:
Diffstat (limited to 'simple/simple-common/src/test/java/org/simpleframework/common/buffer/queue/ByteQueue.java')
-rw-r--r--simple/simple-common/src/test/java/org/simpleframework/common/buffer/queue/ByteQueue.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/simple/simple-common/src/test/java/org/simpleframework/common/buffer/queue/ByteQueue.java b/simple/simple-common/src/test/java/org/simpleframework/common/buffer/queue/ByteQueue.java
new file mode 100644
index 0000000..dc567e9
--- /dev/null
+++ b/simple/simple-common/src/test/java/org/simpleframework/common/buffer/queue/ByteQueue.java
@@ -0,0 +1,13 @@
+package org.simpleframework.common.buffer.queue;
+
+import java.io.IOException;
+
+public interface ByteQueue {
+ void write(byte[] array) throws IOException;
+ void write(byte[] array, int off, int size) throws IOException;
+ int read(byte[] array) throws IOException;
+ int read(byte[] array, int off, int size) throws IOException;
+ int available() throws IOException;
+ void reset() throws IOException;
+ void close() throws IOException;
+}