Logo Search packages:      
Sourcecode: balazar3 version File versions  Download package

def balazar3-0.1::tofu::Unique::undumpsuid (   data  ) 

Unique.undumpsuid(string of 2 chars) -> Unique

Loads a Unique from a string of 2 chars (as returned by Unique.dumpsuid).

Definition at line 132 of file __init__.py.

00132                       :
    """Unique.undumpsuid(string of 2 chars) -> Unique

Loads a Unique from a string of 2 chars (as returned by Unique.dumpsuid)."""


    #print len(data), repr(data)

    
    return Unique.getbyuid(struct.unpack("!H", data)[0])
  @staticmethod
  def dumpsuid_or_none(self):


Generated by  Doxygen 1.6.0   Back to index