buffer: let WriteFloatGeneric silently drop values
Fixes #3766 (closed)
Quoted from buffer.markdown
,
Set
noAssert
to true to skip validation ofvalue
andoffset
. This means thatvalue
may be too large for the specific function andoffset
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.