Value::ReadFromByteArray

Value::ReadFromByteArray
SF_INLINE bool ReadFromByteArray(UByte * destBuff, UPInt destBuffSz);
Description

ReadFromByteArray reads bytes from an ActionSCript 3 ByteArray object to a byte buffer. If the ByteArray is smaller than the specified size, then GetByteArraySize() bytes will be read into the destination buffer.

Parameters
Parameters 
Description 
UByte * destBuff 
Destination buffer for data that will be read from the ByteArray. 
UPInt destBuffSz 
Size of the data to be read from destBuff. 
Return Value

True if the operation was successful. If false is returned, then the object is not a ByteArray object.