Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions | Variables
encodings.punycode Namespace Reference

Classes

class  Codec
 Codec APIs. More...
 
class  IncrementalEncoder
 
class  IncrementalDecoder
 
class  StreamWriter
 
class  StreamReader
 

Functions

def segregate
 Encoding #####################################. More...
 
def selective_len
 
def selective_find
 
def insertion_unsort
 
def T
 
def generate_generalized_integer
 
def adapt
 
def generate_integers
 
def punycode_encode
 
def decode_generalized_number
 Decoding #####################################. More...
 
def insertion_sort
 
def punycode_decode
 
def getregentry
 

Variables

string digits = "abcdefghijklmnopqrstuvwxyz0123456789"
 

Function Documentation

def encodings.punycode.adapt (   delta,
  first,
  numchars 
)
def encodings.punycode.decode_generalized_number (   extended,
  extpos,
  bias,
  errors 
)

Decoding #####################################.

3.3 Generalized variable-length integers
def encodings.punycode.generate_generalized_integer (   N,
  bias 
)
3.3 Generalized variable-length integers
def encodings.punycode.generate_integers (   baselen,
  deltas 
)
3.4 Bias adaptation
def encodings.punycode.getregentry ( )
def encodings.punycode.insertion_sort (   base,
  extended,
  errors 
)
3.2 Insertion unsort coding
def encodings.punycode.insertion_unsort (   str,
  extended 
)
3.2 Insertion unsort coding
def encodings.punycode.punycode_decode (   text,
  errors 
)
def encodings.punycode.punycode_encode (   text)
def encodings.punycode.segregate (   str)

Encoding #####################################.

3.1 Basic code point segregation
def encodings.punycode.selective_find (   str,
  char,
  index,
  pos 
)
Return a pair (index, pos), indicating the next occurrence of
char in str. index is the position of the character considering
only ordinals up to and including char, and pos is the position in
the full string. index/pos is the starting position in the full
string.
def encodings.punycode.selective_len (   str,
  max 
)
Return the length of str, considering only characters below max.
def encodings.punycode.T (   j,
  bias 
)

Variable Documentation

string encodings.punycode.digits = "abcdefghijklmnopqrstuvwxyz0123456789"

Copyright 2014 Google Inc. All rights reserved.