C# Class Fan.Sys.MemBuf

MemBuf.
Inheritance: Buf
Exibir arquivo Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
m_buf byte[]
m_pos int
m_size int

Public Methods

Method Description
@typeof ( ) : Type
MemBuf ( byte bytes ) : System.IO
MemBuf ( byte bytes, int size ) : System.IO
MemBuf ( int capacity ) : System.IO
bytes ( ) : byte[]
capacity ( ) : long
capacity ( long c ) : void
grow ( int capacity ) : void
hmac ( string algorithm, Buf keyBuf ) : Buf
toBase64 ( ) : string
toDigest ( string algorithm ) : Buf
toHex ( ) : string
trim ( ) : Buf

Private Methods

Method Description
getByte ( long pos ) : int
getBytes ( long pos, byte dest, int off, int len ) : void
getPos ( ) : long
getSize ( ) : long
pipeFrom ( Stream src, long lenLong ) : long
pipeFrom ( byte src, int srcPos, int len ) : void
pipeTo ( Stream dst, long lenLong ) : void
pipeTo ( byte dst, int dstPos, int len ) : void
setByte ( long pos, int x ) : void
setPos ( long x ) : void
setSize ( long x ) : void

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

MemBuf() public method

public MemBuf ( byte bytes ) : System.IO
bytes byte
return System.IO

MemBuf() public method

public MemBuf ( byte bytes, int size ) : System.IO
bytes byte
size int
return System.IO

MemBuf() public method

public MemBuf ( int capacity ) : System.IO
capacity int
return System.IO

bytes() public method

public bytes ( ) : byte[]
return byte[]

capacity() public final method

public final capacity ( ) : long
return long

capacity() public final method

public final capacity ( long c ) : void
c long
return void

grow() public method

public grow ( int capacity ) : void
capacity int
return void

hmac() public method

public hmac ( string algorithm, Buf keyBuf ) : Buf
algorithm string
keyBuf Buf
return Buf

toBase64() public method

public toBase64 ( ) : string
return string

toDigest() public method

public toDigest ( string algorithm ) : Buf
algorithm string
return Buf

toHex() public method

public toHex ( ) : string
return string

trim() public method

public trim ( ) : Buf
return Buf

Property Details

m_buf public_oe property

public byte[] m_buf
return byte[]

m_pos public_oe property

public int m_pos
return int

m_size public_oe property

public int m_size
return int