Searched refs:byte2int (Results 1 – 11 of 11) sorted by relevance
45 result += byte2int(bb.get()); in readUInt24()52 result += byte2int(bb.get()) << 8; in readUInt16()53 result += byte2int(bb.get()); in readUInt16()59 result += byte2int(bb.get()); in readUInt16BE()60 result += byte2int(bb.get()) << 8; in readUInt16BE()65 return byte2int(bb.get()); in readUInt8()68 public static int byte2int(byte b) { in byte2int() method in IsoTypeReader
75 number = (number * 256 + six.byte2int([c])) % modulo
504 assert six.byte2int(six.b("\x03")) == 3505 assert six.byte2int(six.b("\x03\x04")) == 3506 py.test.raises(IndexError, six.byte2int, six.b(""))
607 byte2int = operator.itemgetter(0) variable624 def byte2int(bs): function
173 - Issue #26: Add byte2int function, which complements int2byte.
538 assert six.byte2int(six.b("\x03")) == 3539 assert six.byte2int(six.b("\x03\x04")) == 3540 py.test.raises(IndexError, six.byte2int, six.b(""))
628 byte2int = operator.itemgetter(0) variable651 def byte2int(bs): function
189 - Issue #26: Add byte2int function, which complements int2byte.
578 byte2int = operator.itemgetter(0) variable592 def byte2int(bs): function
409 .. function:: byte2int(bs)
416 .. function:: byte2int(bs)