Skip to content

Instantly share code, notes, and snippets.

@pvanheus
Created February 23, 2019 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvanheus/bc81af31767bb5d1f8255cef5eccfd00 to your computer and use it in GitHub Desktop.
Save pvanheus/bc81af31767bb5d1f8255cef5eccfd00 to your computer and use it in GitHub Desktop.
pattern_buffer[pattern_counter] = c;
output_buffer.write(&pattern_buffer[0..pattern_counter+1]).expect("failed to write pattern buffer to output file");
state = 4;
pattern_counter = 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment