Commit 0ed3a7c1 authored by P.S.V.R's avatar P.S.V.R Committed by Trevor Norris
Browse files

buffer: let WriteFloatGeneric silently drop values

Documentation currently states that setting noAssert and passing a value
larger than can fit in the Buffer will cause data to be silently
dropped. Change implementation to match documented behavior.

Fixes: https://github.com/nodejs/node/issues/3766


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent df268f97
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment