some corrections in DataBuffer

Signed-off-by: Christian Lüthold <biocodr@gmail.com>