Package ais :: Module translators
[hide private]
[frames] | no frames]

Module translators

source code

Codecs to handle encoding to and from BitVectors


Requires: Bugs:

To Do: maybe decorators?

Author: Kurt Schwehr

Version: 2068

Copyright: 2006

Date: 2006-05-02

Functions [hide private]
BitVector
unsigned_int_enc(val, bitSize) source code
int
unsigned_int_dec(bv) source code
BitVector
int_enc(val, bitSize) source code
int
int_dec(bv) source code
BitVector
bool_enc(val, bitSize) source code
bool
bool_dec(bv) source code
BitVector
unsigned_decimal_enc(val, bitSize) source code
Decimal
unsigned_decimal_dec(bv) source code
BitVector
decimal_enc(val, bitSize) source code
Decimal
decimal_dec(bv) source code
BitVector
float_enc(val, bitSize) source code
float
float_dec(bv) source code
Variables [hide private]
  encode = {'bool': <function bool_enc at 0x1e26b30>, 'decimal':...
use this table to get the functions to go from usable values in python to bitvectors
  decode = {'bool': <function bool_dec at 0x1e26b70>, 'decimal':...
use this table to get the functions to go from bitvectors to usable values in python
Variables Details [hide private]

encode

use this table to get the functions to go from usable values in python to bitvectors
Value:
{}

decode

use this table to get the functions to go from bitvectors to usable values in python
Value:
{}