- java.lang.Object
-
- de.haumacher.msgbuf.coder.CodedOut
-
-
Constructor Summary
Constructors Constructor Description CodedOut(Appendable out)Creates aCodedOut.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteBytes(byte[] value)voidwriteDouble(double value)voidwriteFloat(float value)voidwriteInt(int value)voidwriteLong(long value)voidwriteString(String value)voidwriteUInt(int value)
-
-
-
Constructor Detail
-
CodedOut
public CodedOut(Appendable out)
Creates aCodedOut.
-
-
Method Detail
-
writeInt
public void writeInt(int value) throws IOException- Specified by:
writeIntin interfaceOut- Throws:
IOException
-
writeUInt
public void writeUInt(int value) throws IOException- Specified by:
writeUIntin interfaceOut- Throws:
IOException
-
writeLong
public void writeLong(long value) throws IOException- Specified by:
writeLongin interfaceOut- Throws:
IOException
-
writeFloat
public void writeFloat(float value) throws IOException- Specified by:
writeFloatin interfaceOut- Throws:
IOException
-
writeDouble
public void writeDouble(double value) throws IOException- Specified by:
writeDoublein interfaceOut- Throws:
IOException
-
writeString
public void writeString(String value) throws IOException
- Specified by:
writeStringin interfaceOut- Throws:
IOException
-
writeBytes
public void writeBytes(byte[] value) throws IOException- Specified by:
writeBytesin interfaceOut- Throws:
IOException
-
-