Bugfix: offsets in the Buffer mode should be in bytes.