org.red5.server.net.rtmp.event
Class SerializeUtils
java.lang.Object
org.red5.server.net.rtmp.event.SerializeUtils
public class SerializeUtils
- extends Object
The utility class provides conversion methods to ease the use of
byte arrays, Mina IoBuffers, and NIO ByteBuffers.
- Author:
- Paul Gregoire ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializeUtils
public SerializeUtils()
ByteBufferToByteArray
public static byte[] ByteBufferToByteArray(IoBuffer buf)
NioByteBufferToByteArray
public static byte[] NioByteBufferToByteArray(ByteBuffer buf)
ByteArrayToByteBuffer
public static void ByteArrayToByteBuffer(byte[] byteBuf,
IoBuffer buf)
ByteArrayToNioByteBuffer
public static void ByteArrayToNioByteBuffer(byte[] byteBuf,
ByteBuffer buf)
Copyright © 2006-2012 The Red5 Project