C# Class TUP.AsmResolver.ResourceDataEntry

Represents a data entry of a resource directory entry.
Exibir arquivo Open project: Rex-Hays/GNIDA

Public Methods

Method Description
GetContents ( ) : byte[]

Reads the data and returns it in byte array format.

GetStream ( ) : Stream

Reads the data as a stream with a buffer size of 4096 bytes.

GetStream ( int buffersize ) : Stream

Reads the data as a stream with a specified buffer size.

Private Methods

Method Description
ResourceDataEntry ( PeImage image, uint offset, ResourceDirectoryEntry parentEntry, Structures rawDataEntry ) : System

Method Details

GetContents() public method

Reads the data and returns it in byte array format.
public GetContents ( ) : byte[]
return byte[]

GetStream() public method

Reads the data as a stream with a buffer size of 4096 bytes.
public GetStream ( ) : Stream
return Stream

GetStream() public method

Reads the data as a stream with a specified buffer size.
public GetStream ( int buffersize ) : Stream
buffersize int The buffer size to be used to read the data.
return Stream