Commit e9ca7b9d authored by Trevor Norris's avatar Trevor Norris
Browse files

buffer: mv floating point read/write checks to JS



Performance improvement by moving checks for floating point operations
to JS and doing the operation on a protected internal function that
assumes all arguments are correct. Still abort if the operation
overflows memory. This can only be caused if the Buffer's length
property isn't the same as the actual internal length.

Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 862cc281
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