-
+ 8AD58FB0739DC94201E75308B93D1741700E42527532FE5EFD38ACD819D5047D38462E9FE7FB10263817317420C285DDB6A411BE6EBB29C94111A2C5782ABE24
vtools/src/bits.ads
(0 . 0)(1 . 11)
98 package Bits is
99 pragma Pure(Bits);
100
101 type Bit is mod 2;
102 type Bitstream is array( Natural range <> ) of Bit; -- any length; message
103
104 procedure ToBitstream(S: in String; B: out Bitstream);
105 procedure ToString(B: in Bitstream; S: out String);
106 procedure ToHex(B: in Bitstream; S: out String);
107 function ToHex(B: in Bitstream) return String;
108 end Bits;