mcandre / rouge

a work in progress BPSK modem
Other
9 stars 1 forks source link

Invert bits #14

Open mcandre opened 3 years ago

mcandre commented 3 years ago

perl -pe 'BEGIN{$/=\1} $_ = pack("C", unpack("C", $_) ^ 0xff)'

https://www.perl.org/