Add DataBuffer, also make an example write