C# Class Microsoft.CodeAnalysis.BinaryParsers.PortableExecutable.SafePointer

显示文件 Open project: Microsoft/binskim Class Usage Examples

Public Methods

Method Description
Equals ( object o ) : bool
GetBytes ( int len ) : byte[]
GetHashCode ( ) : int
GetStream ( ) : Stream
HasData ( int cBytes ) : bool
SafePointer ( Stream stream ) : System
SafePointer ( byte byte_array ) : System
SafePointer ( byte byte_array, int index ) : System
Set ( byte b ) : void
ToString ( ) : string
operator ( ) : SafePointer
operator ( ) : bool
operator ( ) : int

Private Methods

Method Description
SafePointer ( byte byte_array, Stream stream, int index ) : System
TestPointerAndThrow ( ) : void

Method Details

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetBytes() public method

public GetBytes ( int len ) : byte[]
len int
return byte[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetStream() public method

public GetStream ( ) : Stream
return Stream

HasData() public method

public HasData ( int cBytes ) : bool
cBytes int
return bool

SafePointer() public method

public SafePointer ( Stream stream ) : System
stream Stream
return System

SafePointer() public method

public SafePointer ( byte byte_array ) : System
byte_array byte
return System

SafePointer() public method

public SafePointer ( byte byte_array, int index ) : System
byte_array byte
index int
return System

Set() public method

public Set ( byte b ) : void
b byte
return void

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : SafePointer
return SafePointer

operator() public static method

public static operator ( ) : bool
return bool

operator() public static method

public static operator ( ) : int
return int