Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/p/y/pypsd-0.1.5.1/pypsd/base.py   pypsd(Download)
 
		p = PSDParserBase(stream)
		assert p.readCustomInt(4) == 0xFFFFFFFE
		assert p.readCustomInt(4, negative=True) == -1
		assert p.readCustomInt(4, negative=True) == -0x0fffffff-1
		assert p.readCustomInt(4, negative=True) == -2
		assert p.readCustomInt(2, negative=True) == 0xfff