public abstract class BufferEncoder
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
BufferEncoder(BufferPointer sharedBuffer) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
needBuffer(int need) |
protected void |
write(boolean[] b,
int start,
int length) |
protected abstract void |
write(byte[] buf,
int offset,
int length) |
protected void |
write(char[] c,
int start,
int length) |
protected void |
write(double[] d,
int start,
int length) |
protected void |
write(float[] f,
int start,
int length) |
protected void |
write(int[] i,
int start,
int length) |
protected void |
write(long[] l,
int start,
int length) |
protected void |
write(short[] s,
int start,
int length) |
protected void |
write(java.lang.String[] s,
int start,
int length) |
protected void |
writeArray(java.lang.Object o) |
protected void |
writeBoolean(boolean b) |
protected void |
writeByte(int b) |
protected void |
writeChar(int c) |
protected void |
writeChars(java.lang.String s) |
protected void |
writeDouble(double d) |
protected void |
writeFloat(float f) |
protected void |
writeInt(int i) |
protected void |
writeLong(long l) |
protected void |
writeShort(int s) |
protected BufferEncoder(BufferPointer sharedBuffer)
protected abstract void needBuffer(int need) throws java.io.IOException
java.io.IOException
protected void write(boolean[] b, int start, int length) throws java.io.IOException
java.io.IOException
protected abstract void write(byte[] buf, int offset, int length) throws java.io.IOException
java.io.IOException
protected void write(char[] c, int start, int length) throws java.io.IOException
java.io.IOException
protected void write(double[] d, int start, int length) throws java.io.IOException
java.io.IOException
protected void write(float[] f, int start, int length) throws java.io.IOException
java.io.IOException
protected void write(int[] i, int start, int length) throws java.io.IOException
java.io.IOException
protected void write(long[] l, int start, int length) throws java.io.IOException
java.io.IOException
protected void write(short[] s, int start, int length) throws java.io.IOException
java.io.IOException
protected void write(java.lang.String[] s, int start, int length) throws java.io.IOException
java.io.IOException
protected void writeArray(java.lang.Object o) throws java.io.IOException
java.io.IOException
protected void writeBoolean(boolean b) throws java.io.IOException
java.io.IOException
protected void writeByte(int b) throws java.io.IOException
java.io.IOException
protected void writeChar(int c) throws java.io.IOException
java.io.IOException
protected void writeChars(java.lang.String s) throws java.io.IOException
java.io.IOException
protected void writeDouble(double d) throws java.io.IOException
java.io.IOException
protected void writeFloat(float f) throws java.io.IOException
java.io.IOException
protected void writeInt(int i) throws java.io.IOException
java.io.IOException
protected void writeLong(long l) throws java.io.IOException
java.io.IOException
protected void writeShort(int s) throws java.io.IOException
java.io.IOException