]> Repositorios git - scryer-prolog.git/commitdiff
DOC: Un-document the ability to use bytes with encoding(octet).
authorMarkus Triska <[email protected]>
Sat, 16 Mar 2024 19:30:46 +0000 (20:30 +0100)
committerMarkus Triska <[email protected]>
Sat, 16 Mar 2024 19:37:06 +0000 (20:37 +0100)
This usage is now considered deprecated. Use strings instead for
greater efficiency and type consistency in your applications.

This functionality is a candidate for removal in a future commit.

src/lib/crypto.pl

index b69ed581ce5e424adede599888a6185c3e5adb19..fc11808e0bcb713fa401a7a8695edb215b05409d 100644 (file)
 
    Especially for cryptographic applications, it is an advantage that
    using strings leaves little trace of what was processed in the system.
-
-   For predicates that accept an `encoding/1` option to specify the encoding
-   of the input data, if `encoding(octet)` is used, then the input can also
-   be specified as a list of _bytes_, i.e., integers between 0 and 255.
 */
 
 :- module(crypto,