mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Re-order rac.Writer fields
This commit is contained in:
1 parent
7d0963a855
commit
31bdd08ce6
1 file changed
+8
-8
+8
-8
@@ -208,14 +208,6 @@ type Writer struct {
|
||||
// Nil is an invalid value.
|
||||
Writer io.Writer
|
||||
|
||||
// IndexLocation is whether the index is at the start or end of the RAC
|
||||
// file.
|
||||
//
|
||||
// See the RAC specification for further discussion.
|
||||
//
|
||||
// The zero value of this field is IndexLocationAtEnd: a one pass encoding.
|
||||
IndexLocation IndexLocation
|
||||
|
||||
// CodecWriter is the compression codec that this Writer can compress to.
|
||||
//
|
||||
// For example, use a raczlib.CodecWriter from the sibilng "raczlib"
|
||||
@@ -224,6 +216,14 @@ type Writer struct {
|
||||
// Nil is an invalid value.
|
||||
CodecWriter CodecWriter
|
||||
|
||||
// IndexLocation is whether the index is at the start or end of the RAC
|
||||
// file.
|
||||
//
|
||||
// See the RAC specification for further discussion.
|
||||
//
|
||||
// The zero value of this field is IndexLocationAtEnd: a one pass encoding.
|
||||
IndexLocation IndexLocation
|
||||
|
||||
// TempFile is a temporary file to use for a two pass encoding. The field
|
||||
// name says "file" but it need not be a real file, in the operating system
|
||||
// sense.
|
||||
|
||||
Reference in new issue
Block a user