twos_comp

function of dascore.io.segy.utils source

twos_comp(
    bytes_ ,
)

Get twos complement of bytestring.