C# 클래스 Fan.Sys.MemBuf

MemBuf.
상속: Buf
파일 보기 프로젝트 열기: xored/f4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_buf byte[]
m_pos int
m_size int

공개 메소드들

메소드 설명
@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

비공개 메소드들

메소드 설명
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

메소드 상세

@typeof() 공개 메소드

public @typeof ( ) : Type
리턴 Type

MemBuf() 공개 메소드

public MemBuf ( byte bytes ) : System.IO
bytes byte
리턴 System.IO

MemBuf() 공개 메소드

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

MemBuf() 공개 메소드

public MemBuf ( int capacity ) : System.IO
capacity int
리턴 System.IO

bytes() 공개 메소드

public bytes ( ) : byte[]
리턴 byte[]

capacity() 공개 최종 메소드

public final capacity ( ) : long
리턴 long

capacity() 공개 최종 메소드

public final capacity ( long c ) : void
c long
리턴 void

grow() 공개 메소드

public grow ( int capacity ) : void
capacity int
리턴 void

hmac() 공개 메소드

public hmac ( string algorithm, Buf keyBuf ) : Buf
algorithm string
keyBuf Buf
리턴 Buf

toBase64() 공개 메소드

public toBase64 ( ) : string
리턴 string

toDigest() 공개 메소드

public toDigest ( string algorithm ) : Buf
algorithm string
리턴 Buf

toHex() 공개 메소드

public toHex ( ) : string
리턴 string

trim() 공개 메소드

public trim ( ) : Buf
리턴 Buf

프로퍼티 상세

m_buf 공개적으로 프로퍼티

public byte[] m_buf
리턴 byte[]

m_pos 공개적으로 프로퍼티

public int m_pos
리턴 int

m_size 공개적으로 프로퍼티

public int m_size
리턴 int