Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cc5ce659 authored by Tamir Duberstein's avatar Tamir Duberstein
Browse files

Encode directly into file

This avoids allocating an intermediate buffer in memory *and* avoids an
unchecked error on `(*File).Write` which can mask partial writes.

Check error on `(*File).Close` while I'm here.

Change-Id: I9f7c70f1eb267155c080e44c50a99bdca62dea05
parent c8b6feba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment