#NEWLINE# def decode_offset( key , fp ) : #NEWLINE# #INDENT# name = read_unicode_string ( fp ) [ : ( - 1 ) ] #NEWLINE# classID_length = read_fmt ( 'I' , fp ) [ 0 ] #NEWLINE# classID = fp . read ( ( classID_length or 4 ) ) #NEWLINE# offset = read_fmt ( 'I' , fp ) [ 0 ] #NEWLINE# return Offset ( name , classID , offset )