joyent/node — pull request #2129 by morkai (2011-11-16 12:49:30+00:00)
Title: Fixed minimum values for writeInt*() functions.

Currently writeInt8/16/32 functions accept values out of their range (when they should throw an exception):
int8: from -240 to 127
int16: from -61440 to 32767
int32: from -4026531840 to 2147483647

I've changed the minimums to -128, -32768, -2147483648.