예제 #1
0
 def readFourCCAsString(self):
     return ByteUtils.decodeFourCC(self.read(4), self.isLittleEndian)
예제 #2
0
파일: ByteChunk.py 프로젝트: sernst/PyAid
 def readFourCCAsString(self):
     return ByteUtils.decodeFourCC(self.read(4), self.isLittleEndian)
예제 #3
0
 def writeFourCC(self, fourCC):
     if StringUtils.isStringType(fourCC):
         fourCC = ByteUtils.getAsFourCC(fourCC, self.isLittleEndian)
     self.writeUint32(fourCC)
예제 #4
0
파일: ByteChunk.py 프로젝트: sernst/PyAid
 def writeFourCC(self, fourCC):
     if StringUtils.isStringType(fourCC):
         fourCC = ByteUtils.getAsFourCC(fourCC, self.isLittleEndian)
     self.writeUint32(fourCC)