brianc
b58ae9e7f7
clean up prototype shorthand
...
For some reason a few years ago I thought it would be neat to use a shorthand version of prototype to save myself some keystrokes. That was a cosmetic mistake. It also breaks ctags.
Also, normalized some whitespace.
2013-03-06 08:48:52 -06:00
Philipp Borgers
cf6da99fca
rename reserved word char to c
2013-01-24 22:05:35 +01:00
Philipp Borgers
35d04ff42e
fix jshint errors for lib/writer.js
2013-01-24 21:59:27 +01:00
brianc
2cddf2a112
fix for changes to Buffer.prototype.write signature change between node version. closes gh#66
2011-11-01 23:02:59 -05:00
Roman Shtylman
46f6d9037c
fix for writing null terminated buffers
...
node 0.5.10+ changed how null terminated buffers are written. The
null terminator is no longer written explicitly.
fixes #63
2011-10-30 16:24:19 -04:00
brianc
c317606b0a
fix writing empty string to buffer. closes gh-39
2011-07-20 15:32:47 -05:00
brianc
a580c8ab8d
code cleanup
2011-05-02 00:32:30 -05:00
brianc
526a6284f9
50x performance increase on javascript client prepared statement execution on linux!
2011-04-16 11:42:23 -05:00
Brian Carlson
c93b76fb15
support adding header packet to remove final buffer.copy call
2011-01-14 15:19:10 -06:00
Brian Carlson
3500154d2a
writer's buffer resize no longer dies when item byteLength > 2x buffer length
2011-01-14 14:52:16 -06:00
brianc
eb3e4ca3ab
writer#addString
2011-01-01 12:36:26 -06:00
brianc
99086cf4bf
Writer#flush
2011-01-01 11:51:33 -06:00
brianc
222fbffcfd
writer#clear method
2011-01-01 11:33:50 -06:00
brianc
bf32d9520c
internally change name from elasticbuffer to writer
2011-01-01 11:30:04 -06:00
brianc
0458e8981f
swap writer for elasticbuffer for performance
2011-01-01 11:27:52 -06:00
brianc
66add6defc
shortcut the join method for single buffer writers
2010-12-29 19:04:33 -06:00
brianc
0c777fafec
fix for strang \0 buffer encoding issue in node v0.3.0
2010-11-01 22:11:40 -04:00
brianc
0d2d6b5107
Moved buffer list to test directory and replaced w/ slightly cleaner
...
"writer" for use in the library code. BufferList was always supposed
to be a test helper and the api is trash
2010-10-31 18:21:37 -05:00