format/src/main/java/com/github/sadikovi/riff/column/ColumnFilter.java
/**
   * Deserialize filter from byte buffer.
   * @param buf byte buffer with filter data
   * @return filter
   * @throws IOException
   */
Deserialize filter from byte buffer.
@param buf byte buffer with filter data
@return filter
@throws IOException
Deserialize filter from byte buffer . @param buf byte buffer with filter data @return filter @throws IOException
public static ColumnFilter readExternal(ByteBuffer buf) throws IOException {
    byte meta = buf.get();
    boolean hasNulls = (meta & 1 << 7) != 0;
    ColumnFilter filter = magicToColumnFilter(meta & 0x7f);
    filter.readState(buf);
    filter.hasNulls = hasNulls;
    return filter;
  }
public static ColumnFilter readExternal ( ByteBuffer buf ) throws IOException { byte meta = buf . get ( ) ; boolean hasNulls = ( meta & 1 << 7 ) != 0 ; ColumnFilter filter = magicToColumnFilter ( meta & 0x7f ) ; filter . readState ( buf ) ; filter . hasNulls = hasNulls ; return filter ; }
Deserialize filter from byte buffer.
Deserialize filter from byte buffer .
// read byte of metadata