how i replicate perl's empty functionality c#?


i am perplexing reconstruct perl book c# nonetheless have problem formulating checksum value aim component needs.



in perl checksum distributed controlling unpack function:



while (<package>) {
$checksum += unpack("%32c*", $_);
}
$checksum %= 32767;
close(package);


where package .tar record quarrel stream



i need replicate c# nonetheless can't means replicating unpack function.



all assistance appreciated!



(i know there many improved checksum calculations accessible nonetheless can't change aim component can't change calculation)



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?