bytestream support