Did I find the right examples for you? yes no

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

src/p/y/pypsd-0.1.5.1/pypsd/sections.py   pypsd(Download)
		Do not try to read the file if the signature does not match this value.
		'''
		self.signature = self.readString(4)
		self.logger.debug("Signature: %s" % self.signature)
		validate("Signature", self.signature, mustBe=self.SIGNATURE)
			Signature: '8BIM'
			'''
			sign = self.readString(4)
			validate("Image Resource block signature", sign, mustBe=self.SIGNATIRE_8BIM)
			'''
		Blend mode signature. 
		'''
		bimSignature = self.readString(4)
		validate("Blend mode signature", bimSignature, mustBe=self.SIGNATIRE_8BIM)
 
		prevPos = self.getPos()
		while self.getPos() - pos < extraFieldsSize:
			bimSignature = self.readString(4)
			validate("Blend mode signature", bimSignature, mustBe=self.SIGNATIRE_8BIM)
			'''
			4 bytes.
			Key: a 4-character code
			'''
			tag = self.readString(4)