java.lang.Object
de.haumacher.msgbuf.coder.Coder
Run-length encoding and decoding of Java primitive types into a stream of characters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendDouble(Appendable out, double num) static voidappendFloat(Appendable out, float num) static voidappendInt(Appendable out, int num) static voidappendLong(Appendable out, long num) static voidappendString(Appendable out, String s) static voidappendUInt(Appendable out, int num) static doublereadDouble(Reader in) static floatstatic intstatic longstatic StringreadString(Reader in) static int
-
Constructor Details
-
Coder
public Coder()
-
-
Method Details
-
appendInt
- Throws:
IOException
-
appendUInt
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readUInt
- Throws:
IOException
-
appendLong
- Throws:
IOException
-
readLong
- Throws:
IOException
-
appendString
- Throws:
IOException
-
readString
- Throws:
IOException
-
appendFloat
- Throws:
IOException
-
readFloat
- Throws:
IOException
-
appendDouble
- Throws:
IOException
-
readDouble
- Throws:
IOException
-