C# Class SharpCifs.Dcerpc.Ndr.NdrBuffer

Show file Open project: brandonprry/Potato Class Usage Examples

Public Properties

Property Type Description
Buf byte[]
Deferred NdrBuffer
Index int
Length int
Start int

Public Methods

Method Description
Advance ( int n ) : void
Align ( int boundary ) : int
Align ( int boundary, byte value ) : int
Dec_ndr_hyper ( ) : long
Dec_ndr_long ( ) : int
Dec_ndr_short ( ) : int
Dec_ndr_small ( ) : int
Dec_ndr_string ( ) : string
Derive ( int idx ) : NdrBuffer
Enc_ndr_hyper ( long h ) : void
Enc_ndr_long ( int l ) : void
Enc_ndr_referent ( object obj, int type ) : void
Enc_ndr_short ( int s ) : void
Enc_ndr_small ( int s ) : void
Enc_ndr_string ( string s ) : void
GetBuffer ( ) : byte[]
GetCapacity ( ) : int
GetIndex ( ) : int
GetLength ( ) : int
GetTailSpace ( ) : int
NdrBuffer ( byte buf, int start ) : System
ReadOctetArray ( byte b, int i, int l ) : void
Reset ( ) : void
SetIndex ( int index ) : void
SetLength ( int length ) : void
ToString ( ) : string
WriteOctetArray ( byte b, int i, int l ) : void

Private Methods

Method Description
GetDceReferent ( object obj ) : int

Method Details

Advance() public method

public Advance ( int n ) : void
n int
return void

Align() public method

public Align ( int boundary ) : int
boundary int
return int

Align() public method

public Align ( int boundary, byte value ) : int
boundary int
value byte
return int

Dec_ndr_hyper() public method

public Dec_ndr_hyper ( ) : long
return long

Dec_ndr_long() public method

public Dec_ndr_long ( ) : int
return int

Dec_ndr_short() public method

public Dec_ndr_short ( ) : int
return int

Dec_ndr_small() public method

public Dec_ndr_small ( ) : int
return int

Dec_ndr_string() public method

public Dec_ndr_string ( ) : string
return string

Derive() public method

public Derive ( int idx ) : NdrBuffer
idx int
return NdrBuffer

Enc_ndr_hyper() public method

public Enc_ndr_hyper ( long h ) : void
h long
return void

Enc_ndr_long() public method

public Enc_ndr_long ( int l ) : void
l int
return void

Enc_ndr_referent() public method

public Enc_ndr_referent ( object obj, int type ) : void
obj object
type int
return void

Enc_ndr_short() public method

public Enc_ndr_short ( int s ) : void
s int
return void

Enc_ndr_small() public method

public Enc_ndr_small ( int s ) : void
s int
return void

Enc_ndr_string() public method

public Enc_ndr_string ( string s ) : void
s string
return void

GetBuffer() public method

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

GetCapacity() public method

public GetCapacity ( ) : int
return int

GetIndex() public method

public GetIndex ( ) : int
return int

GetLength() public method

public GetLength ( ) : int
return int

GetTailSpace() public method

public GetTailSpace ( ) : int
return int

NdrBuffer() public method

public NdrBuffer ( byte buf, int start ) : System
buf byte
start int
return System

ReadOctetArray() public method

public ReadOctetArray ( byte b, int i, int l ) : void
b byte
i int
l int
return void

Reset() public method

public Reset ( ) : void
return void

SetIndex() public method

public SetIndex ( int index ) : void
index int
return void

SetLength() public method

public SetLength ( int length ) : void
length int
return void

ToString() public method

public ToString ( ) : string
return string

WriteOctetArray() public method

public WriteOctetArray ( byte b, int i, int l ) : void
b byte
i int
l int
return void

Property Details

Buf public property

public byte[] Buf
return byte[]

Deferred public property

public NdrBuffer,SharpCifs.Dcerpc.Ndr Deferred
return NdrBuffer

Index public property

public int Index
return int

Length public property

public int Length
return int

Start public property

public int Start
return int