org.red5.io.utils
public class BufferUtils extends Object
Constructor and Description |
---|
BufferUtils() |
Modifier and Type | Method and Description |
---|---|
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
|
public static void writeMediumInt(IoBuffer out, int value)
out
- Container to write tovalue
- Integer to writepublic static int readUnsignedMediumInt(IoBuffer in)
in
- Sourcepublic static int readMediumInt(IoBuffer in)
in
- SourceCopyright © 2006-2012 The Red5 Project