U:RDoc::AnyMethod[iI"sum:ETI"String#sum;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"NReturns a basic n-bit checksum of the characters in str, ;TI"Qwhere n is the optional Integer parameter, defaulting ;TI"Mto 16. The result is simply the sum of the binary value of each byte in ;TI"Nstr modulo 2**n - 1. This is not a particularly good ;TI"checksum.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I" str.sum(n=16) -> integer ;T0[I"(p1 = v1);T@FI" String;TcRDoc::NormalClassI" scanf;T0