windows - Python bytearray isn't as long as it should be -


I'm trying to display an Android-yov image as a raw byte file.

  F = Open (self. FN) Self. Yuvraare = Baitier (F.Drade ())  

I know that there are 720 bytes in the file, but self.yuvArray is only 350K apart, one After trying to do this with several files of the same format, which are all 720K bytes long (both are verified in the file size, and the C # code gives a 720k size array), I see that all these sizes are all different, Different, about 350K

I tried to see that some kind of compression, or something, could not get anything.

How can I read it in the 720k size array? Open the file in

b ).

  Otherwise, in Windows, the carriage return, the new line is converted, and a specific byte (26 == 0x1A) causes back first. F.write ('\ r \ n') with open ('testfile', 'r') as open as 'F' ('testfile', 'wb')  
  ('Testfile', 'wb') as f.read () == '\ n' #converted  

  f: f.write (' '(' Testfile ',' r ') as f: lerten (f.read ()) lt; 256 # lane (..) == 26  

Comments