Patent ID: 7940799

Claim:
A code translation method comprising the steps of: receiving an input code stored in a hierarchical data structure, the input code including a first value in a parameter of the hierarchical data structure which determines an allowable range of data amount in the input code, user data in a first layer of the hierarchical data structure, and main data in a second layer of the hierarchical data structure; storing the user data and main data in a data buffer; and generating an output code stored in the hierarchical data structure, the output code including the stored main data, the stored user data in a layer of the hierarchical data structure other than the first layer, and a second value in the parameter of the hierarchical data structure which determines an allowable range of data amount in the output code, the second value being different from the first value to reflect a change from the allowable range of data amount in the input code effected by moving the user data from the input code to the output code; wherein the stored main data included in the output code is identical to the main data included in the input code.