code: function prependLength(data) {
  	const lengthAsBytes = buffer.Buffer.alloc(4);
  
  	lengthAsBytes.writeUInt32BE(data.length);
  
  	return buffer.Buffer.concat([lengthAsBytes, data]);
  }
docs: Prepend length to the data.
  
  @param data
  @returns {Buffer}