read_exactly

function of dascore.utils.io source

read_exactly(
    handle ,
    size: int ,
)-> ‘bytes’

Read size bytes, or up to the end, from a handle that may return fewer.