com.sentilla.host.client.network
Class SerializableByteBuffer
java.lang.Object
com.sentilla.host.client.network.SerializableByteBuffer
- All Implemented Interfaces:
- Serializable
public class SerializableByteBuffer
- extends Object
- implements Serializable
- Author:
- spence@sentilla.com
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Generated serial version ID.
- See Also:
- Constant Field Values
start
public int start
end
public int end
data
public byte[] data
SerializableByteBuffer
public SerializableByteBuffer()
SerializableByteBuffer
public SerializableByteBuffer(int maxlength)
SerializableByteBuffer
public SerializableByteBuffer(byte[] data,
int start,
int end)
clear
public void clear()
read
public byte read()
throws IORuntimeException
- Throws:
IORuntimeException
available
public int available()
skip
public void skip(int n)
throws IORuntimeException
- Throws:
IORuntimeException
write
public void write(int b)
throws IORuntimeException
- Throws:
IORuntimeException
cmp
public int cmp(SerializableByteBuffer b)
Copyright © 2007 Sentilla, Inc. All Rights Reserved.