'Read the next token and interpret it as a 16-bit unsigned
integer.
@raises dns.exception.SyntaxError:
@rtype: int'

def get_uint16(self):

    value = self.get_int()
    if ((value < 0) or (value > 65535)):
        raise dns.exception.SyntaxError(('%d    is    not    an    unsigned    16-bit    integer' % value))
    return value
