|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.red5.io.utils.BufferUtils
public class BufferUtils
Buffer Utility class which reads/writes intergers to the input/output buffer
Constructor Summary | |
---|---|
BufferUtils()
|
Method Summary | |
---|---|
static int |
put(IoBuffer out,
IoBuffer in,
int numBytesMax)
Puts input buffer stream to output buffer and returns number of bytes written |
static int |
readMediumInt(IoBuffer in)
Reads a Medium Int to the in buffer |
static int |
readUnsignedMediumInt(IoBuffer in)
Reads an unsigned Medium Int from the in buffer |
static void |
writeMediumInt(IoBuffer out,
int value)
Writes a Medium Int to the output buffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferUtils()
Method Detail |
---|
public static void writeMediumInt(IoBuffer out, int value)
out
- Container to write tovalue
- Integer to writepublic static int readUnsignedMediumInt(IoBuffer in)
in
- Source
public static int readMediumInt(IoBuffer in)
in
- Source
public static final int put(IoBuffer out, IoBuffer in, int numBytesMax)
out
- Output bufferin
- Input buffernumBytesMax
- Number of bytes max
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |