Home
last modified time | relevance | path

Searched refs:unpackBase128 (Results 1 – 2 of 2) sorted by relevance

/external/fonttools/Tests/ttLib/
Dwoff2_test.py9 WOFF2Writer, unpackBase128, unpack255UShort, pack255UShort)
753 self.assertEqual(unpackBase128(b'\x3f\x00\x00'), (63, b"\x00\x00"))
754 self.assertEqual(unpackBase128(b'\x8f\xff\xff\xff\x7f')[0], 4294967295)
759 unpackBase128, b'\x80\x80\x3f')
764 unpackBase128, b'\x8f\xff\xff\xff\xff\x7f')
769 unpackBase128, b'\x90\x80\x80\x80\x00')
774 unpackBase128, b'')
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py538 self.origLength, data = unpackBase128(data)
541 self.length, data = unpackBase128(data)
940 def unpackBase128(data): function