Skip to content
Discussion options

You must be logged in to vote

Hi

The FRENewByteArray method will make a copy of the data. Essentially it creates the AS3 ByteArray object, then sets its length based on the passed-in object - which will do the memory allocation. And then it gets the writable buffer and does a memory copy from the passed-in data to the new AS3 object.

thanks

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Fancy2209
Comment options

@ajwfrost
Comment options

@Fancy2209
Comment options

Answer selected by Fancy2209
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants