code: public void deserialize(DataInput in, byte[] buffer) throws IOException {
      try {
        this.highLowContainer.deserialize(in, buffer);
      } catch(InvalidRoaringFormat cookie) {
        throw cookie.toIOException();// we convert it to an IOException
      }
    }
docs: Deserialize (retrieve) this bitmap. See format specification at
  https://github.com/RoaringBitmap/RoaringFormatSpec
  
  The current bitmap is overwritten.
  
  @param in the DataInput stream
  @param buffer The buffer gets overwritten with data during deserialization. You can pass a NULL
  reference as a buffer. A buffer containing at least 8192 bytes might be ideal for
  performance. It is recommended to reuse the buffer between calls to deserialize (in a
  single-threaded context) for best performance.
  @throws IOException Signals that an I/O exception has occurred.