jaron.simpleserialization
Class SerializationInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
jaron.simpleserialization.SerializationInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class SerializationInputStream
- extends java.io.ByteArrayInputStream
The SerializationInputStream
class implements the functionality
to convert simple data types like integers, floats and strings into serilized
data.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- jarontec gmail com
Methods inherited from class java.io.ByteArrayInputStream |
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.io.InputStream |
read |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializationInputStream
public SerializationInputStream(byte[] buffer)
SerializationInputStream
public SerializationInputStream(byte[] buf,
int offset,
int length)
readInteger
public int readInteger()
readFloat
public float readFloat()
readString
public java.lang.String readString()