Package nom.tam.util
Class BufferEncoder
java.lang.Object
nom.tam.util.BufferEncoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
protected void
writeArray
(Object o) protected void
writeBoolean
(boolean b) protected void
writeByte
(int b) protected void
writeChar
(int c) protected void
writeChars
(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)
-
Constructor Details
-
BufferEncoder
-
-
Method Details
-
needBuffer
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
writeArray
- Throws:
IOException
-
writeBoolean
- Throws:
IOException
-
writeByte
- Throws:
IOException
-
writeChar
- Throws:
IOException
-
writeChars
- Throws:
IOException
-
writeDouble
- Throws:
IOException
-
writeFloat
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
writeLong
- Throws:
IOException
-
writeShort
- Throws:
IOException
-