mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Add a rac.Reader
This commit is contained in:
1 parent
e292a22ccb
commit
861ae95f8c
5 files changed
+819
-24
No files matched your search
+3
-3
@@ -65,9 +65,6 @@ type Writer struct {
|
||||
// Zero is an invalid value.
|
||||
Codec Codec
|
||||
|
||||
// initialized is set true after the first AddXxx call.
|
||||
initialized bool
|
||||
|
||||
// IndexLocation is whether the index is at the start or end of the RAC
|
||||
// file.
|
||||
//
|
||||
@@ -127,6 +124,9 @@ type Writer struct {
|
||||
// each chunk's starting offset will be aligned to a page boundary.
|
||||
CPageSize uint64
|
||||
|
||||
// initialized is set true after the first AddXxx call.
|
||||
initialized bool
|
||||
|
||||
// err is the first error encountered. It is sticky: once a non-nil error
|
||||
// occurs, all public methods will return that error.
|
||||
err error
|
||||
|
||||
Reference in new issue
Block a user