Ryan Dahl
|
b8bfbdab48
|
Rename SlowBuffer in binding
|
15 years ago |
Ryan Dahl
|
5bc4efe820
|
Remove blobs, simplify SlowBuffer
Implement SlowBuffer.prototype.slice in js
|
15 years ago |
Ryan Dahl
|
380d12832c
|
Remove dead code
|
15 years ago |
Ryan Dahl
|
efc723787a
|
Fix big string bug
|
15 years ago |
Ryan Dahl
|
71d67dbf48
|
Remove fancy SlowBuffer constructor
|
15 years ago |
Ryan Dahl
|
6135941eea
|
Fix ByteLength hangup
|
15 years ago |
Ryan Dahl
|
ececd92f62
|
Fix base64 write for buffers
|
15 years ago |
Ryan Dahl
|
1f947f7b41
|
remove unnecessary casts
|
15 years ago |
Ryan Dahl
|
7b772f3f68
|
More fast buffer work
|
15 years ago |
Ryan Dahl
|
d5bdda74c1
|
fast buffer bounds checking in copy()
|
15 years ago |
Ryan Dahl
|
1cf538a60a
|
Work to get C++ fast buffers. incomplete
|
15 years ago |
Ryan Dahl
|
565d862f3c
|
Fix buffer binding
|
15 years ago |
Tim-Smart
|
746d487da8
|
FastBuffer implementation. API needs migration
|
15 years ago |
Ryan Dahl
|
f86ad1693f
|
Safe Constructor: Buffer
|
15 years ago |
Ryan Dahl
|
488aff085b
|
Improve appendix markdown
|
15 years ago |
Ryan Dahl
|
7db5c8a10d
|
Fix toString('base64') bug
Thanks to Stepan Stolyarov for the test case.
|
15 years ago |
Ryan Dahl
|
c38dd24dc5
|
Fix style
|
15 years ago |
Ben Noordhuis
|
f72ac17c89
|
Buffer: graciously handle padding in base64-encoded input.
|
15 years ago |
Ryan Dahl
|
f291fbc8a7
|
Fix ending \0 in base64 decoding
|
15 years ago |
Ben Noordhuis
|
95638c9b0d
|
Buffer: adjust buffer size so the base64-decoded input fits snugly.
Stops Valgrind from complaining about uninitialized memory access.
|
15 years ago |
Benjamin Kramer
|
eeaf1ef970
|
Constify read-only global data
Also silences a compiler warning about deprecated conversion from const
char* to char*.
|
15 years ago |
Ryan Dahl
|
2c1ca4078d
|
Implement buffer.write for base64
There might be an off-by-one on the returned value.
|
15 years ago |
Ryan Dahl
|
528015e0d8
|
Implement buffer.toString('base64')
|
15 years ago |
Peter Griess
|
e7c4f8cdaa
|
Buffer.copy() should liberally allow empty copies.
|
15 years ago |
Peter Griess
|
b64a521d66
|
Buffer('') should create a 0-length buffer
|
15 years ago |
Paul Querna
|
82daa46e26
|
Move Buffer to extension model.
|
15 years ago |
Blake Mizerany
|
8c8534046c
|
fix whitespace errors
|
15 years ago |
Matt Ranney
|
02ed0ec93b
|
On overlapping buffers use memmove
|
15 years ago |
Ryan Dahl
|
5e86d01385
|
Revert "Buffer.copy should copy through sourceEnd, as specified."
This reverts commit a2f70da4c9 .
Keep tests modifies a few edge checks on Copy()
|
15 years ago |
Matt Ranney
|
a2f70da4c9
|
Buffer.copy should copy through sourceEnd, as specified.
Improve test-buffer.js to cover all copy error cases.
Fix off by one error in string_decoder.
|
15 years ago |
Ryan Dahl
|
3768aaaea4
|
Create a public Buffer constructor for use in addons.
|
15 years ago |
Felix Geisendörfer
|
0a539865dd
|
Support arrays and strings in buffer constructor
This is be very useful for testing code that deals with buffers.
|
15 years ago |
Ryan Dahl
|
8e5b91c79b
|
Revert "Check for strings.h"
This reverts commit 032f651824 .
|
15 years ago |
Ryan Dahl
|
032f651824
|
Check for strings.h
|
15 years ago |
kriskowal
|
8d1f1186ca
|
Fixed/Completed buffer copy range checks.
|
15 years ago |
Ryan Dahl
|
5281f29012
|
Use new method of getting chars written for UTF8
|
15 years ago |
Ryan Dahl
|
41ef1717e0
|
Upgrade V8 to 2.2.3.1
|
15 years ago |
Ryan Dahl
|
b8c0349750
|
Fix triple buffer slice bug
|
15 years ago |
Ryan Dahl
|
38041fcaa0
|
Try out Flatten API
Speeds up WriteUtf8 significantly when dealing with strings made by the
concatenation of many others.
|
15 years ago |
Ryan Dahl
|
53dd9fe200
|
Fix bug in buffer.utf8Write() which included \u0000
|
15 years ago |
Ryan Dahl
|
85487c82d0
|
Blob struct should not contain actual data
This is to allow eventual realloc without messing up the data_ references in
all the slices.
|
15 years ago |
Ryan Dahl
|
b72ffc0e07
|
Add buffer.copy
|
15 years ago |
Ryan Dahl
|
ac684f3583
|
Add legacy 'binary' encoding/decoding methods to Buffer
|
15 years ago |
Ryan Dahl
|
3a993d8897
|
Buffer.utf8ByteLength -> Buffer.byteLength
|
15 years ago |
Ryan Dahl
|
0c64768cb4
|
Don't error out when buffer.utf8Write() doesn't fit
|
15 years ago |
Ryan Dahl
|
177de8fefc
|
Fix some gcc warnings
|
15 years ago |
Ryan Dahl
|
3d10852c33
|
Disable AsciiSliceExt
Seems faster and less buggy?
|
15 years ago |
Ryan Dahl
|
c1a0ade7e7
|
Further net2 compatibilities
|
15 years ago |
Ryan Dahl
|
1660db6b87
|
Inline Buffer::HasInstance
|
15 years ago |
Ryan Dahl
|
4f56d8ae24
|
Rename Buffer.utf8Length to Buffer.utf8ByteLength
|
15 years ago |