AFIT/Source/scalable/scalable_encoding_msg.ml

20 lines
558 B
OCaml

(** Encoding Strings *)
open Scalable
open Scalable_basic_arithmetics
open Scalable_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 = []
(** 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 = ""