HexDump Method

Object List Next Object

Defined By:
DataBuffer

Description:

Used to get a Hexadecimal representation of the data stored in the DataBuffer.

Declaration:

Function HexDump(ByVal dataOffset As Long, ByVal formatOffset As Long, ByVal numBytes As Integer) As String

Details:

HexDump returns a String, formatted into four columns and several rows. The bigger the size of the DataBuffer, the more rows there will be. The first column shows the starting Byte for the row. The second column is the Hexadecimal value of each Byte in the row. The third column is the Ascii representation of each Byte in the row. The fourth column shows the ending Byte for the row. A row can contain anywhere from zero to eight Bytes.

DataOffset is the position of the Byte to start with. formatOffset is the amount by which to increase the values of the first and fourth rows. numBytes is the number of Bytes to inspect.