/// Push the fast fields value to the `FastFieldWriter`.
Push the fast fields value to the `FastFieldWriter`.
Push the fast fields value to the ` FastFieldWriter ` .
pub fn serialize(&self, serializer: &mut FastFieldSerializer) -> io::Result<()> {
        let (min, max) = if self.val_min > self.val_max {
            (0, 0)
        } else {
            (self.val_min, self.val_max)
        };
        let mut single_field_serializer = serializer.new_u64_fast_field(self.field, min, max)?;
        let mut cursor = self.vals.as_slice();
        while let Ok(VInt(val)) = VInt::deserialize(&mut cursor) {
            single_field_serializer.add_val(val)?;
        }
        single_field_serializer.close_field()
    }
pub fn serialize ( & self , serializer : & mut FastFieldSerializer ) -> io :: Result < ( ) > { let ( min , max ) = if self . val_min > self . val_max { ( 0 , 0 ) } else { ( self . val_min , self . val_max ) } ; let mut single_field_serializer = serializer . new_u64_fast_field ( self . field , min , max ) ? ; let mut cursor = self . vals . as_slice ( ) ; while let Ok ( VInt ( val ) ) = VInt :: deserialize ( & mut cursor ) { single_field_serializer . add_val ( val ) ? ; } single_field_serializer . close_field ( ) }
Push the fast fields value to the `FastFieldWriter`.
Push the fast fields value to the ` FastFieldWriter ` .
&self
serializer
&mut FastFieldSerializer