#NEWLINE# @ bacpypes_debugging #NEWLINE# def unsigned_encode( obj ) : #NEWLINE# #INDENT# 'Encode an Unsigned object into a tag.' #NEWLINE# if _debug : #NEWLINE# #INDENT# unsigned_encode . _debug ( 'unsigned_encode %r' , obj ) #NEWLINE# #UNINDENT# tag = Tag ( ) #NEWLINE# obj . encode ( tag ) #NEWLINE# if _debug : #NEWLINE# #INDENT# unsigned_endec . _debug ( '    - tag: %r' , obj ) #NEWLINE# #UNINDENT# return tag