Hi,
I was wondering, is there an easy way to delete the entire contents of a byte array or do you have to delete each byte 1 at a time?
Thanks
Deleting the contents of a byte array
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Deleting the contents of a byte array
I dont think there is currently. It would be nice to have, and is present in a lot of high level languages.
The easiest way to do this would probably be a small tight loop which iterated over every byte and set it to NULL
The easiest way to do this would probably be a small tight loop which iterated over every byte and set it to NULL