Common lower-level functions for various streaming data libraries
