blob: dc567e91b76820e2c24aeb09ca5e1c37f97e4c89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}
|