bigeasy / packet

Incremental binary parsers and serializers for Node.js.
http://bigeasy.github.io/packet
MIT License
186 stars 25 forks source link

Hanging when the byte count is shorter than the spread array. #607

Open bigeasy opened 3 years ago

bigeasy commented 3 years ago

Will loop forever. Trying to fill the spread array.

const definition = {
    value: [ 32, [ 0x80, 7 ], [ 0x0, 7 ] ]
}