20 Commits (7e7062cdca87e5ff54945fc1786cba25d0996995)

Author SHA1 Message Date
Anna Henningsen beca3244e2
buffer: allow Uint8Array input to methods 8 years ago
Eric Gonzalez eb122b1582 test: adding strictEqual to test-buffer-indexof.js 8 years ago
Michaël Zasso 8699ecd340 test: improve coverage of the buffer module 8 years ago
Rich Trott b4258bba11 test: improve chained property readability 9 years ago
Anna Henningsen a7105a8db3
test,doc: clarify `buf.indexOf(num)` input range 9 years ago
Trevor Norris 54cc7212df buffer: introduce latin1 encoding term 9 years ago
Rich Trott a56da51a38 benchmark,test,lib: remove extra spaces 9 years ago
Anna Henningsen bc8b525440
buffer: fix lastIndexOf index underflow issue 9 years ago
Anna Henningsen 55b975d402
buffer: fix lastIndexOf crash for overlong needle 9 years ago
Anna Henningsen 4d49bcb73e
buffer: fix UCS2 indexOf for odd buffer length 9 years ago
Anna Henningsen 5defa0cbaa
buffer: fix needle length misestimation for UCS2 9 years ago
dcposch@dcpos.ch 6c1e5ad3ab buffer: add Buffer.prototype.lastIndexOf() 9 years ago
James M Snell 85ab4a5f12 buffer: add .from(), .alloc() and .allocUnsafe() 9 years ago
Rich Trott 9429685d48 test,buffer: refactor redeclarations 9 years ago
Trevor Norris 54cd2e1e5e buffer: properly retrieve binary length of needle 9 years ago
Trevor Norris 7240ad4441 buffer: allow encoding param to collapse 9 years ago
Rich Trott 082cc8d6d8 test: remove unnecessary assignments 9 years ago
Karl Skomski a18dd7b788 src: replace naive search in Buffer::IndexOf 9 years ago
Roman Reiss f29762f4dd test: enable linting for tests 10 years ago
Trevor Norris 78581c8d90 buffer: add indexOf() method 10 years ago