Microsoft DirectX 8.1 (Visual Basic)

GetStringFromBuffer

Retrieves string data from a byte array.

GetStringFromBuffer( _
    Buffer() As Byte, _
    lOffset As Long) As String

Parameters

Buffer
Byte array that the data is to be retrieved from.
lOffset
Long value containing the offset, in bytes, to the location in the byte array from which the data is to retrieved. When the function returns, this parameter will be set to the offset of the first byte following the data that has just been retrieved.

Return Values

Returns a String value containing the retrieved string.