def check_encoding(self, f=sys.stdout):
    if (self.signed_offset <= UINT16_MAX):
        f.write('warning: "const-string/jumbo" can be encoded as a ')
        f.write('"const-string" more efficiently as its offset is ')
        f.write('<= UINT16_MAX\n')
        return 2
    return 0
def check_encoding(self, f=sys.stdout):
    if (self.signed_offset <= UINT16_MAX):
        f.write('warning: "const-string/jumbo" can be encoded as a ')
        f.write('"const-string" more efficiently as its offset is ')
        f.write('<= UINT16_MAX\n')
        return 2
    return 0