var timestamp = new Uint32Array[16];
var timestamp2 = new byte[0];
that is my code but it doesnt work. Anyone can you help me please
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
first off: If you don’t do some webgl stuff and would just like to store your timestamp just stick to an old fashioned Array.
using ArrayBuffers and typed Arrays you can declare “byte-buffers” and create C like structs.
to work with that buffer you have to create views
after that you can access the buffer as you would access a normal array
more information about ArrayBuffers and typed arrays can be found here
working with complex data structures
ArrayBufferView – Typed array subclasses