Skip to content

buffer: let WriteFloatGeneric silently drop values

Rodrigo Muino Tomonari requested to merge github/fork/pmq20/master-fix-3766 into master

Fixes #3766 (closed)

Quoted from buffer.markdown,

Set noAssert to true to skip validation of value and offset. This means that value may be too large for the specific function and offset may be beyond the end of the buffer leading to the values being silently dropped.

Therefore I let node::Buffer::WriteFloatGeneric silently drop values instead of crashing.

Merge request reports

Loading