blob: dc567e91b76820e2c24aeb09ca5e1c37f97e4c89 [file] [log] [blame]
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;
}