assert.throws(function() { var buf = new SlowBuffer(8); buf.writeFloatLE(0.0, 0xfffffff); }, /Trying to access beyond buffer length/);
assert.throws(function() { var buf = new SlowBuffer(8); buf.writeFloatLE(0.0, -1); }, /offset is not uint/);
assert.throws(function() { var buf = new SlowBuffer(8); buf.writeFloatLE(0.0, 0xffffffff); // TRIREME: access instead of read, ok? }, /Trying to access beyond buffer length/);