checksums.process: change docs to use $unchecked-example.
parent
c822395597
commit
da6ee64786
|
@ -13,14 +13,14 @@ $nl
|
||||||
$nl
|
$nl
|
||||||
"The " { $link checksum-bytes } " and the " { $link checksum-stream } " methods encapsulate the above protocol, including instantiation and disposal of the " { $link process-state } " tuple."
|
"The " { $link checksum-bytes } " and the " { $link checksum-stream } " methods encapsulate the above protocol, including instantiation and disposal of the " { $link process-state } " tuple."
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example "USING: byte-arrays checksums checksums.process ;"
|
{ $unchecked-example "USING: byte-arrays checksums checksums.process ;"
|
||||||
"\"test\" >byte-array \"sha1sum\" <checksum-process> checksum-bytes ."
|
"\"test\" >byte-array \"sha1sum\" <checksum-process> checksum-bytes ."
|
||||||
"B{
|
"B{
|
||||||
169 74 143 229 204 177 155 166 28 76 8 115 211 145 233 135
|
169 74 143 229 204 177 155 166 28 76 8 115 211 145 233 135
|
||||||
152 47 187 211
|
152 47 187 211
|
||||||
}" }
|
}" }
|
||||||
$nl
|
$nl
|
||||||
{ $example "USING: checksums checksums.common checksums.process"
|
{ $unchecked-example "USING: checksums checksums.common checksums.process"
|
||||||
"io io.encodings.binary namespaces ;"
|
"io io.encodings.binary namespaces ;"
|
||||||
"\"LICENSE.txt\" binary ["
|
"\"LICENSE.txt\" binary ["
|
||||||
" input-stream get \"sha1sum\" <checksum-process> checksum-stream"
|
" input-stream get \"sha1sum\" <checksum-process> checksum-stream"
|
||||||
|
|
Loading…
Reference in New Issue