Back to index

python-biopython  1.60
Classes | Functions
Bio.HotRand Namespace Reference

Classes

class  HotCache
class  HotRandom

Functions

def byte_concat

Function Documentation

def Bio.HotRand.byte_concat (   text)

Definition at line 12 of file HotRand.py.

00012 
00013 def byte_concat( text ):
00014     val = 0
00015     numbytes = len( text )
00016     for i in range( 0, numbytes ):
00017         val = val * 256
00018         val = val + ord( text[ i ] )
00019 
00020     return val

Here is the caller graph for this function: