StreamBinaryReader

class of dascore.utils.io
inherits from: BinaryReader, _io.BytesIO, _io._BufferedIOBase, _io._IOBase
source

StreamBinaryReader(
    initial_bytes = b’’,
)

A binary reader which streams remote resources.

If the server cannot serve byte ranges, a read past the first block switches to a local copy, which the remote-cache settings may refuse.