get_buffer_size

function of dascore.utils.misc source

get_buffer_size(
    fid: IOBase ,
)

Get the size of a buffer in bytes.

Parameters

Parameter Description
fid A buffered reader, e.g. from open(file) as fid.