code: function decode(buffer, encoding) {
  		validateEncoding(encoding);
  		if (encoding === null || encoding === 'buffer') return [buffer, new Buffer(0)];
  		var decoder = new StringDecoder(encoding);
  		var str = decoder.write(buffer);
  		var leftover = decoder.charBuffer.slice(0, decoder.charReceived);
  		return [str, leftover];
  	}
docs: decode(buffer, encoding) --------------------------------------------------