split bytestream implementation to another branch
blobstream readasbytes