#1974 Buf.endian in JS...

SlimerDude Wed 25 Jul 2012

...doesn't exist!

Buf.fromHex("FF").endian = Endian.big

when run in JavaScript gives

Uncaught TypeError: Object MemBuf(pos=3 size=40) has no method 'endian$' 

andy Thu 26 Jul 2012

Pushed a fix

SlimerDude Thu 26 Jul 2012

Nice - does that fix ensure the endian is used when reading / writing 16 and 32 bit numbers?

andy Thu 26 Jul 2012

This is just a convenience to pass down into the InStream/OutStream - so works AFAIK.

Login or Signup to reply.