buf: add consume_bytes Allow users to consume a buffer by the number of bytes, not just to an ending pointer.