C# Class Tpm2Lib.ByteBuf

ファイルを表示 Open project: Microsoft/TSS.MSR Class Usage Examples

Public Methods

Method Description
Append ( byte x ) : void
ByteBuf ( ) : System
ByteBuf ( byte x ) : System
ByteBuf ( int size ) : System
BytesRemaining ( ) : int
Extract ( int num ) : byte[]
GetBuffer ( ) : byte[]
GetBytesInMiddle ( int startPos, int length ) : byte[]
GetGetPos ( ) : int
GetSize ( ) : int
GetValidLength ( ) : int
RemoveBytesInMiddle ( int startPos, int length ) : byte[]
Reset ( ) : void
SetBytesInMiddle ( byte bytesToSet, int pos ) : void
SetGetPos ( int newGetPos ) : void

Method Details

Append() public method

public Append ( byte x ) : void
x byte
return void

ByteBuf() public method

public ByteBuf ( ) : System
return System

ByteBuf() public method

public ByteBuf ( byte x ) : System
x byte
return System

ByteBuf() public method

public ByteBuf ( int size ) : System
size int
return System

BytesRemaining() public method

public BytesRemaining ( ) : int
return int

Extract() public method

public Extract ( int num ) : byte[]
num int
return byte[]

GetBuffer() public method

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

GetBytesInMiddle() public method

public GetBytesInMiddle ( int startPos, int length ) : byte[]
startPos int
length int
return byte[]

GetGetPos() public method

public GetGetPos ( ) : int
return int

GetSize() public method

public GetSize ( ) : int
return int

GetValidLength() public method

public GetValidLength ( ) : int
return int

RemoveBytesInMiddle() public method

public RemoveBytesInMiddle ( int startPos, int length ) : byte[]
startPos int
length int
return byte[]

Reset() public method

public Reset ( ) : void
return void

SetBytesInMiddle() public method

public SetBytesInMiddle ( byte bytesToSet, int pos ) : void
bytesToSet byte
pos int
return void

SetGetPos() public method

public SetGetPos ( int newGetPos ) : void
newGetPos int
return void