code: public void write(BitOutputStream os, boolean isLast) throws IOException {
  
          os.writeRawUInt(isLast, STREAM_METADATA_IS_LAST_LEN);
          os.writeRawUInt(METADATA_TYPE_SEEKTABLE, STREAM_METADATA_TYPE_LEN);
          os.writeRawUInt(calcLength(), STREAM_METADATA_LENGTH_LEN);
          
          for (int i = 0; i < points.length; i++) {
              points[i].write(os);
          }
          
          os.flushByteAligned();
      }
docs: Write out the metadata block.
  @param os    The output stream
  @param isLast    True if this is the last metadata block
  @throws IOException  Thrown if error writing data