hasmer
Public Member Functions | Properties | List of all members
Hasmer.HbcDataBuffer Class Reference

Represents a Hermes data buffer, such as the array buffer. More...

Public Member Functions

 HbcDataBuffer (byte[] buffer)
 Creates a new HbcDataBuffer given the raw binary data in the buffer. More...
 
List< HbcDataBufferItemsReadAll (HbcFile source)
 Reads the entire buffer and disassembles it into HbcDataBufferItems objects for each entry in the buffer. More...
 
void WriteAll (BinaryWriter writer)
 Writes the serialized buffer to a stream. More...
 
HbcDataBufferItems Read (HbcFile source, uint offset)
 Disassembles a single HbcDataBufferItems from an offset in the data buffer (e.g. from an instruction operand). More...
 

Properties

byte[] Buffer [get, set]
 The raw binary of the buffer. More...
 

Detailed Description

Represents a Hermes data buffer, such as the array buffer.

Constructor & Destructor Documentation

◆ HbcDataBuffer()

Hasmer.HbcDataBuffer.HbcDataBuffer ( byte[]  buffer)
inline

Creates a new HbcDataBuffer given the raw binary data in the buffer.

Member Function Documentation

◆ Read()

HbcDataBufferItems Hasmer.HbcDataBuffer.Read ( HbcFile  source,
uint  offset 
)
inline

Disassembles a single HbcDataBufferItems from an offset in the data buffer (e.g. from an instruction operand).

◆ ReadAll()

List<HbcDataBufferItems> Hasmer.HbcDataBuffer.ReadAll ( HbcFile  source)
inline

Reads the entire buffer and disassembles it into HbcDataBufferItems objects for each entry in the buffer.

◆ WriteAll()

void Hasmer.HbcDataBuffer.WriteAll ( BinaryWriter  writer)
inline

Writes the serialized buffer to a stream.

Property Documentation

◆ Buffer

byte [] Hasmer.HbcDataBuffer.Buffer
getset

The raw binary of the buffer.


The documentation for this class was generated from the following file: