225 Commits (f18b1c91b8be9c668d6f8a4b71d9f3d81628f429)

Author SHA1 Message Date
Anna Henningsen 8f90dcc1b8
buffer: throw on negative .allocUnsafe() argument 9 years ago
Zach Bjornson a1059afd39 buffer: speed up swap16/32, add swap64 9 years ago
James M Snell 6dd093da26 buffer,string_decoder: consolidate encoding validation logic 9 years ago
Ingvar Stepanyan 0e9e149da4
buffer: fix creating from zero-length ArrayBuffer 9 years ago
Nikolai Vavilov bd23290657 buffer: remove obsolete and confusing comment 8 years ago
Trevor Norris 54cc7212df buffer: introduce latin1 encoding term 9 years ago
Ingvar Stepanyan 5292a1358f
buffer: improve creation performance. 9 years ago
Ben Noordhuis 3a3996315c lib,src: reset zero fill flag on exception 9 years ago
Ben Noordhuis 27e84ddd4e lib,src: clean up ArrayBufferAllocator 9 years ago
Anna Henningsen ef9a8fa35b
buffer: ignore negative allocation lengths 9 years ago
Justin Sprigg 05e2acb428
buffer: fix single digit hex string handling 9 years ago
Сковорода Никита Андреевич dd67608bfd buffer: safeguard against accidental kNoZeroFill 9 years ago
dcposch@dcpos.ch 6c1e5ad3ab buffer: add Buffer.prototype.lastIndexOf() 9 years ago
James M Snell 627524973a buffer: add Buffer.allocUnsafeSlow(size) 9 years ago
James M Snell a2466896dd buffer: add Buffer.prototype.compare by offset 9 years ago
Vladimir Kurchatkin 0dcb026db3 buffer: don't set `kNoZeroFill` flag in allocUnsafe 9 years ago
Jackson Tian 293fd04535 buffer: make byteLength work with ArrayBuffer & DataView 9 years ago
Jackson Tian afd821a91d buffer: faster case for create buffer from empty string 9 years ago
James M Snell 7d73e60f60 buffer: add swap16() and swap32() methods 9 years ago
Gareth Ellis 443c2d5442 buffer: changing let in for loops back to var 9 years ago
James M Snell 85ab4a5f12 buffer: add .from(), .alloc() and .allocUnsafe() 9 years ago
Trevor Norris b55e58042c buffer: add encoding parameter to fill() 9 years ago
dcposch@dcpos.ch 2c55cc2d2c buffer: remove deprecated Buffer.write branch 9 years ago
HUANG Wei c0bfac6ba9 buffer: remove duplicated code in fromObject 9 years ago
Michaël Zasso d2dc234def buffer: validate list elements in Buffer.concat 9 years ago
Rich Trott 2ac47f87a4 buffer: refactor redeclared variables 9 years ago
Trevor Norris 7240ad4441 buffer: allow encoding param to collapse 9 years ago
Jackson Tian 8d0ca10752 buffer: make byteLength work with Buffer correctly 9 years ago
Peter Geiss 83d2b7707e buffer: remove unnecessary TODO comments 9 years ago
Feross Aboukhadijeh 101bca988c buffer: remove deprecated buffer.get/.set methods 9 years ago
Mathias Buus 3b27dd5ce1 buffer: throw if both length and enc are passed 9 years ago
Jackson Tian 5396baf7c1 buffer: faster case for create Buffer from new Buffer(0) 9 years ago
Jackson Tian 26a82971b2 buffer: refactor create buffer 9 years ago
Alexander Martin 67e181986a buffer: add includes() for parity with TypedArray 9 years ago
Matt Loring ec836547c4 buffer: fix range checking for slowToString 9 years ago
Bryce Baril 7239494b54 buffer: Prevent Buffer constructor deopt 9 years ago
Peter A. Bigot bea67422df buffer: fix writeInt{B,L}E for some neg values 9 years ago
Tom Gallacher 93739f48ff buffer: default to UTF8 in byteLength() 9 years ago
Matt Loring 22478d3669 buffer: move checkFloat from lib into src 9 years ago
micnic 20285ad177 lib: Consistent error messages in all modules 9 years ago
Trevor Norris 3308e5ea2a buffer: fix value check for writeUInt{B,L}E 9 years ago
Trevor Norris e97dae573c buffer: don't abort on prototype getters 9 years ago
Karl Skomski a18dd7b788 src: replace naive search in Buffer::IndexOf 9 years ago
Trevor Norris 8a685e7fe3 buffer: clean up usage of __proto__ 9 years ago
Trevor Norris 0a329d2d1f buffer: don't set zero fill for zero-length buffer 9 years ago
Sakthipriyan Vairamani 5f6579d366 buffer: remove raw & raws encoding 9 years ago
Trevor Norris 74178a5682 buffer: construct Uint8Array in JS 9 years ago
Karl Skomski e7a3ca3d31 src: use subarray() in Buffer#slice() for speedup 9 years ago
Michaël Zasso 729479f3f4 buffer: SlowBuffer only accept valid numeric values 9 years ago
Karl Skomski 599d4f5f3a src: fix memory leak in ExternString 9 years ago