C# Class Luz.ULib.Net.ByteArrayBuffer

Inheritance: MessageDataBuffer
Exibir arquivo Open project: devluz/webrtcnetwork Class Usage Examples

Public Methods

Method Description
ByteArrayBuffer ( byte arr ) : System
CopyFrom ( byte arr, int srcOffset, int len ) : void
Dispose ( ) : void
Get ( int size ) : ByteArrayBuffer

Private Methods

Method Description
ByteArrayBuffer ( ) : System
ByteArrayBuffer ( int size ) : System
GetPower ( uint anyPowerOfTwo ) : int
NextPowerOfTwo ( uint v ) : uint
Reset ( ) : void

Method Details

ByteArrayBuffer() public method

public ByteArrayBuffer ( byte arr ) : System
arr byte
return System

CopyFrom() public method

public CopyFrom ( byte arr, int srcOffset, int len ) : void
arr byte
srcOffset int
len int
return void

Dispose() public method

public Dispose ( ) : void
return void

Get() public static method

public static Get ( int size ) : ByteArrayBuffer
size int
return ByteArrayBuffer