Skip to content

Conversation

@pugnusferreus
Copy link

  • added datastream.flush. On windows, if you don't do that, python will add null char to your string. This will not happen on Unix based python because datastream.read will "commit" the string into the file. However, on windows, you're required to use flush or close
  • rather than assuming that the tkhd value will always be 36 char, use char.len() instead

…ll add null char to your string. This will not happen on Unix based python because datastream.read will "commit" the string into the file. However, on windows, you're required to use flush or close

- rather than assuming that the tkhd value will always be 36 char, use char.__len__() instead
@ghost ghost assigned danielgtaylor Feb 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants