code: function writePCBuffer(client, buffer) {
      var length = pcbuffer.createBuffer();
  
  
      length.writeVarInt(buffer.buffer().length);
  
      client.write(Buffer.concat([length.buffer(), buffer.buffer()]));
  }
docs: Wraps our Buffer into another to fit the Minecraft protocol.