GetDataFromBuffer
Retrieves nonstring data from a byte array.
GetDataFromBuffer( _
Buffer() As Byte, _
lData As Any, _
lSize As Long, _
lOffset As Long)
Parameters
- Buffer
- Byte array from which the data is to be retrieved.
- lData
- Variable to receive the data that is retrieved from Buffer.
- lSize
- Size of the data in lData, in bytes. The simplest way to determine this value is to use the Visual Basic LenB function. You can also use one of the values from the CONST_DPLAYBUFSIZE enumeration.
- lOffset
- Offset, in bytes, to the location in the byte array from which the data is to be 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.