doc: document unspecified behavior for buf.write* methods
authorJames M Snell <jasnell@gmail.com>
Sun, 27 Mar 2016 15:34:13 +0000 (08:34 -0700)
committerMyles Borins <mborins@us.ibm.com>
Mon, 11 Apr 2016 15:41:20 +0000 (11:41 -0400)
commitf60ce1078dd1a781773f75c8d1616a63fa4a6b13
tree02c2276da13a2d5f686fb1caf09342dba4bbad71
parent132acea0d4411ed30c170879b0c1044dc69df9f1
doc: document unspecified behavior for buf.write* methods

Per https://github.com/nodejs/node/issues/1161, when the
buf.write*() methods are given anything other than what
they expect, indicate that the behavior is unspecified.

Fixes: https://github.com/nodejs/node/issues/1161
PR-URL: https://github.com/nodejs/node/pull/5925
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
doc/api/buffer.markdown