Commit 144cd49a0eb3ccc749325d0ee14b3ebf4367c971

Behdad Esfahbod 2011-08-07T00:51:50

[buffer] Accept -1 for text_length and item_length A -1 text_length means: zero-terminated string. A -1 item_length means: to the end of string.