Check buffer length using string length
authorSean Braithwaite <brapse@gmail.com>
Thu, 2 Dec 2010 21:53:16 +0000 (16:53 -0500)
committerRyan Dahl <ry@tinyclouds.org>
Fri, 3 Dec 2010 23:55:03 +0000 (15:55 -0800)
commitfcc38129a3d333766fd7899eb0b45d4998e6d0a8
treebb2a34ebacff2a6c09ccdc9a8bf25350590f3571
parentc70acbb1a3b14ba1131807023f35416e2d79f72f
Check buffer length using string length

   + Utf8Length is really slow but has the same semantics in this case
src/node_buffer.cc