docs: function encodeFloat(value) {
      let buffer = new ByteBuffer();
      buffer.littleEndian = true;
      buffer.limit = 8;
      if (value === null) {
          return buffer;
      }
      return buffer.writeFloat(value);
  }