/* * Decompiled with CFR 0.152. * * Could not load the following classes: * javax.baja.nre.util.ByteBuffer */ package javax.baja.io; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.UTFDataFormatException; public class ByteBuffer implements DataOutput, DataInput { private javax.baja.nre.util.ByteBuffer byteBuffer; public int available() { return this.byteBuffer.available(); } public void dump() { this.byteBuffer.dump(); } public String dumpToString() { return this.byteBuffer.dumpToString(); } public boolean endsWith(byte[] byArray) { return this.byteBuffer.endsWith(byArray); } public boolean endsWith(int n) { return this.byteBuffer.endsWith(n); } public boolean equals(Object object) { return this.byteBuffer.equals(object); } public byte[] getBytes() { return this.byteBuffer.getBytes(); } public InputStream getInputStream() { return this.byteBuffer.getInputStream(); } public int getLength() { return this.byteBuffer.getLength(); } public OutputStream getOutputStream() { return this.byteBuffer.getOutputStream(); } public int getPosition() { return this.byteBuffer.getPosition(); } public int hashCode() { return this.byteBuffer.hashCode(); } public int indexOf(byte[] byArray, int n) { return this.byteBuffer.indexOf(byArray, n); } public int indexOf(byte[] byArray) { return this.byteBuffer.indexOf(byArray); } public int indexOf(int n, int n2) { return this.byteBuffer.indexOf(n, n2); } public int indexOf(int n) { return this.byteBuffer.indexOf(n); } public boolean isBigEndian() { return this.byteBuffer.isBigEndian(); } public int lastIndexOf(byte[] byArray, int n) { return this.byteBuffer.lastIndexOf(byArray, n); } public int lastIndexOf(byte[] byArray) { return this.byteBuffer.lastIndexOf(byArray); } public int lastIndexOf(int n, int n2) { return this.byteBuffer.lastIndexOf(n, n2); } public int lastIndexOf(int n) { return this.byteBuffer.lastIndexOf(n); } public int peek() throws IOException { return this.byteBuffer.peek(); } public int read() throws IOException { return this.byteBuffer.read(); } public int read(byte[] byArray, int n, int n2) throws IOException { return this.byteBuffer.read(byArray, n, n2); } public int read(byte[] byArray) throws IOException { return this.byteBuffer.read(byArray); } public boolean readBoolean() throws IOException { return this.byteBuffer.readBoolean(); } public byte readByte() throws IOException { return this.byteBuffer.readByte(); } public char readChar() throws IOException { return this.byteBuffer.readChar(); } public double readDouble() throws IOException { return this.byteBuffer.readDouble(); } public float readFloat() throws IOException { return this.byteBuffer.readFloat(); } public int readFrom(InputStream inputStream, int n) throws IOException { return this.byteBuffer.readFrom(inputStream, n); } public void readFully(byte[] byArray, int n, int n2) throws IOException { this.byteBuffer.readFully(byArray, n, n2); } public void readFully(byte[] byArray) throws IOException { this.byteBuffer.readFully(byArray); } public void readFullyFrom(InputStream inputStream, int n) throws IOException { this.byteBuffer.readFullyFrom(inputStream, n); } public int readInt() throws IOException { return this.byteBuffer.readInt(); } public String readLine() throws IOException { return this.byteBuffer.readLine(); } public long readLong() throws IOException { return this.byteBuffer.readLong(); } public short readShort() throws IOException { return this.byteBuffer.readShort(); } public void readToEnd(InputStream inputStream) throws IOException { this.byteBuffer.readToEnd(inputStream); } public String readUTF() throws IOException { return this.byteBuffer.readUTF(); } public int readUnsignedByte() throws IOException { return this.byteBuffer.readUnsignedByte(); } public int readUnsignedShort() throws IOException { return this.byteBuffer.readUnsignedShort(); } public void reset() { this.byteBuffer.reset(); } public void seek(int n) { this.byteBuffer.seek(n); } public void setBigEndian(boolean bl) { this.byteBuffer.setBigEndian(bl); } public int skipBytes(int n) throws IOException { return this.byteBuffer.skipBytes(n); } public boolean startsWith(byte[] byArray) { return this.byteBuffer.startsWith(byArray); } public boolean startsWith(int n) { return this.byteBuffer.startsWith(n); } public byte[] toByteArray() { return this.byteBuffer.toByteArray(); } public String toString() { return this.byteBuffer.toString(); } public void write(byte[] byArray, int n, int n2) { this.byteBuffer.write(byArray, n, n2); } public void write(byte[] byArray) { this.byteBuffer.write(byArray); } public void write(int n) { this.byteBuffer.write(n); } public void writeBoolean(boolean bl) { this.byteBuffer.writeBoolean(bl); } public void writeByte(int n) { this.byteBuffer.writeByte(n); } public void writeBytes(String string) { this.byteBuffer.writeBytes(string); } public void writeChar(int n) { this.byteBuffer.writeChar(n); } public void writeChars(String string) { this.byteBuffer.writeChars(string); } public void writeDouble(double d) { this.byteBuffer.writeDouble(d); } public void writeFloat(float f) { this.byteBuffer.writeFloat(f); } public void writeInt(int n) { this.byteBuffer.writeInt(n); } public void writeLong(long l) { this.byteBuffer.writeLong(l); } public void writeShort(int n) { this.byteBuffer.writeShort(n); } public void writeTo(DataOutput dataOutput, int n, int n2) throws IOException { this.byteBuffer.writeTo(dataOutput, n, n2); } public void writeTo(DataOutput dataOutput) throws IOException { this.byteBuffer.writeTo(dataOutput); } public void writeTo(OutputStream outputStream, int n, int n2) throws IOException { this.byteBuffer.writeTo(outputStream, n, n2); } public void writeTo(OutputStream outputStream) throws IOException { this.byteBuffer.writeTo(outputStream); } public void writeUTF(String string) throws UTFDataFormatException { this.byteBuffer.writeUTF(string); } public static int utfEncodedSize(String string) { return javax.baja.nre.util.ByteBuffer.utfEncodedSize((String)string); } public static int utfEncodedSize(char c) { return javax.baja.nre.util.ByteBuffer.utfEncodedSize((char)c); } public void setLength(int n) { this.byteBuffer.setLength(n); } public void setBuffer(byte[] byArray) { this.byteBuffer.setBuffer(byArray); } public ByteBuffer(byte[] byArray, int n) { this.byteBuffer = new javax.baja.nre.util.ByteBuffer(byArray, n); } public ByteBuffer(byte[] byArray) { this.byteBuffer = new javax.baja.nre.util.ByteBuffer(byArray); } public ByteBuffer(int n) { this.byteBuffer = new javax.baja.nre.util.ByteBuffer(n); } public ByteBuffer() { this.byteBuffer = new javax.baja.nre.util.ByteBuffer(); } }