mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Add rac.Reader.CodecReaders doc comment
This commit is contained in:
1 parent
fe2b4e236d
commit
7d71bc590b
1 file changed
+6
@@ -55,6 +55,8 @@ type CodecReader interface {
|
|||||||
// Reader reads a RAC file.
|
// Reader reads a RAC file.
|
||||||
//
|
//
|
||||||
// Do not modify its exported fields after calling any of its methods.
|
// Do not modify its exported fields after calling any of its methods.
|
||||||
|
//
|
||||||
|
// Reader implements the io.ReadSeeker interface.
|
||||||
type Reader struct {
|
type Reader struct {
|
||||||
// ReadSeeker is where the RAC-encoded data is read from.
|
// ReadSeeker is where the RAC-encoded data is read from.
|
||||||
//
|
//
|
||||||
@@ -75,6 +77,10 @@ type Reader struct {
|
|||||||
// Zero is an invalid value, as an empty file is not a valid RAC file.
|
// Zero is an invalid value, as an empty file is not a valid RAC file.
|
||||||
CompressedSize int64
|
CompressedSize int64
|
||||||
|
|
||||||
|
// CodecReaders are the compression codecs that this Reader can decompress.
|
||||||
|
//
|
||||||
|
// For example, use a raczlib.CodecReader from the sibilng "raczlib"
|
||||||
|
// package.
|
||||||
CodecReaders []CodecReader
|
CodecReaders []CodecReader
|
||||||
|
|
||||||
// err is the first error encountered. It is sticky: once a non-nil error
|
// err is the first error encountered. It is sticky: once a non-nil error
|
||||||
|
|||||||
Reference in new issue
Block a user