a buffer library