parameters: (i)
docstring: Convert an integer to a "new" version double octet length.
      
      :Parameters:
          - `i`: integer of double octet length
  
      :Returns: string - two octets, double length encoded
  
      **The integer `i` should be in the range 192 <= `i` <= 16319**. However
      this is not enforced. The reason for the recommendation is to keep double
      octet creation with "normal" OpenPGP bounds. The reason for the lack of
      enforcement is because it is assumed that these bounds will be tested before
      using this function anyway, and anything using this function without such a
      test probably doesn't care about "normal" OpenPGP bounds anyway.
  
          >>> int2doubleoct(12495)
          '\\xf0\\x0f'
docstring_summary: Convert an integer to a "new" version double octet length.
      
      :Parameters:
          - `i`: integer of double octet length
docstring_tokens: Convert an integer to a new version double octet length . : Parameters : - i : integer of double octet length
function: def int2doubleoct(i):
      """Convert an integer to a "new" version double octet length.
      
      :Parameters:
          - `i`: integer of double octet length
  
      :Returns: string - two octets, double length encoded
  
      **The integer `i` should be in the range 192 <= `i` <= 16319**. However
      this is not enforced. The reason for the recommendation is to keep double
      octet creation with "normal" OpenPGP bounds. The reason for the lack of
      enforcement is because it is assumed that these bounds will be tested before
      using this function anyway, and anything using this function without such a
      test probably doesn't care about "normal" OpenPGP bounds anyway.
  
          >>> int2doubleoct(12495)
          '\\xf0\\x0f'
      """
      if 192 <= i <= 447:
          return '\xc0' + chr(i - 192)
      else:
          n = i + (192 * 255)
          return chr(n >> 8) + chr(n & 255)
function_tokens: def int2doubleoct ( i ) : if 192 <= i <= 447 : return '\xc0' + chr ( i - 192 ) else : n = i + ( 192 * 255 ) return chr ( n >> 8 ) + chr ( n & 255 )