Module rustdb::util

source ·
Expand description

Utility functions and macros, SmallSet.

Structs§

  • Set of usize, optimised for elements < 64. default() is empty set.

Functions§

  • Function to compare bytes. Length is taken from a. Calls d for each range that is different. Interior equal ranges less than min_eq are taken as different.
  • Extract unsigned value of n bytes from data.
  • Extract f32 from byte data.
  • Extract f64 from byte data.
  • Extract u64 from byte data.
  • Convert a hex char byte to a byte in range 0..15.
  • Extract signed value of n bytes from data.
  • Store signed value of n bytes to data ( with overflow check ).
  • New Data ( Arc::new(Vec::new()) ).
  • Wrap a type in Rc + RefCell.
  • Construct a new map wrapped in a RefCell.
  • Convert hex literal to bytes.
  • Store unsigned value of n bytes to data.
  • Store u64 to byte data.
  • Convert bytes to hex string.