code: function(endTime) {
      const opcode = encoders.opcode('RESET_STREAM');
  
      const endTimeBuffer = new Float64Array(1);
      endTimeBuffer[0] = endTime;
  
      const payload = new Uint16Array(1 + 4);
      payload.set(opcode, 0);
      payload.set(new Uint16Array(endTimeBuffer.buffer), 1);
  
      return payload.buffer;
    }
docs: `opcode`    2 bytes (Uint16) | `endTime`   8 bytes (Float64)