Encoding and decoding IEEE 754 floats in JavaScript

前端 未结 5 798
故里飘歌
故里飘歌 2021-01-05 04:29

I need to encode and decode IEEE 754 floats and doubles from binary in node.js to parse a network protocol.

Are there any existing libraries that do this, or do I ha

5条回答
  •  灰色年华
    2021-01-05 05:18

    Maybe you can see if this thing does what you want: http://jsfromhell.com/classes/binary-parser

提交回复
热议问题