buffer: expose buffer getter