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
Loading
Please register or sign in to comment