beg buffer