Was looking at Buffer class in nodejs documentation -
Does anyone know the difference between buf.readUInt16BE and
buf.readUInt16LE?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because yo
On Mon, Sep 24, 2012 at 12:48 AM, nodenewbie wrote:
> Was looking at Buffer class in nodejs documentation -
> Does anyone know the difference between buf.readUInt16BE and
> buf.readUInt16LE?
One reads a little-endian short, the other a big-endian short.
--
Job Board: http://jobs.nodejs.org/
Pos
FYI: http://en.wikipedia.org/wiki/Endianness
Regards,
ty
2012/9/24 Ben Noordhuis
> On Mon, Sep 24, 2012 at 12:48 AM, nodenewbie wrote:
> > Was looking at Buffer class in nodejs documentation -
> > Does anyone know the difference between buf.readUInt16BE and
> > buf.readUInt16LE?
>
> One rea