Package com.wowza.util
Class PacketFragment
- Object
-
- com.wowza.util.PacketFragment
-
- All Implemented Interfaces:
IPacketFragment
public class PacketFragment extends Object implements IPacketFragment
-
-
Constructor Summary
Constructors Constructor Description PacketFragment()
PacketFragment(byte[] buffer)
PacketFragment(byte[] buffer, int offset, int len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketFragment
clone()
byte[]
getBuffer()
int
getLen()
int
getOffset()
void
setBuffer(byte[] buffer)
void
setLen(int len)
void
setOffset(int offset)
int
size()
-
-
-
Method Detail
-
clone
public PacketFragment clone()
- Specified by:
clone
in interfaceIPacketFragment
- Overrides:
clone
in classObject
-
size
public int size()
-
getBuffer
public byte[] getBuffer()
- Specified by:
getBuffer
in interfaceIPacketFragment
-
setBuffer
public void setBuffer(byte[] buffer)
- Specified by:
setBuffer
in interfaceIPacketFragment
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfaceIPacketFragment
-
setOffset
public void setOffset(int offset)
- Specified by:
setOffset
in interfaceIPacketFragment
-
getLen
public int getLen()
- Specified by:
getLen
in interfaceIPacketFragment
-
setLen
public void setLen(int len)
- Specified by:
setLen
in interfaceIPacketFragment
-
-