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 |
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. |
True if the operation was successful. If false is returned, then the object is not a ByteArray object.