AFIT/Source/builtin/encoding_msg.ml

20 lines
538 B
OCaml

(** Encoding Strings *)
open Builtin
open Basic_arithmetics
open Power
(** Encode a string containing ASCII characters.
@param str is a string representing message.
@param bits number of bits on which to store a character ;
alphanumeric ASCII is 7.
*)
let encode str bits = 0
(** Decode a string containing ASCII characters.
@param msg is an integer representing an encoded message.
@param bits number of bits on which to store a character ;
alphanumeric ASCII is 7.
*)
let decode msg bits = ""