CodePlexProject Hosting for Open Source Software
why do I get this error?
Value of type 'ArrayBuffer' is not newable
with this code
If you look at the
docs for DataView you'll see that the first argument passed to the constructor is an existing ArrayBuffer instance. Since it's expecting an existing instance you can't call 'new'. If you change your call to "new ArrayBuffer();" you
still ge an error because
ArrayBuffer's constructor wants a length parameter. The error goes away if you change it to "new ArrayBuffer(32);"
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.