allow buffers to accept closure args

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>