(self)
return cstr
Extract a single NULL terminated C string from the binary file at the current file position, returns a single C string
Extract a single NULL terminated C string from the binary file at the current file position, returns a single C string
Extract a single NULL terminated C string from the binary file at the current file position returns a single C string
def get_c_string(self):
		'''Extract a single NULL terminated C string from the binary file at the current file position, returns a single C string'''
		cstr = ''
		byte = self.get_uint8()
		while byte != 0:
			cstr += "%c" % byte
			byte = self.get_uint8()
		return cstr
def get_c_string ( self ) : cstr = '' byte = self . get_uint8 ( ) while byte != 0 : cstr += "%c" % byte byte = self . get_uint8 ( ) return cstr