mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Re-order rac.ChunkWriter.AddChunk args
This commit is contained in:
1 parent
706e7a2474
commit
a61d735d54
4 files changed
+13
-13
No files matched your search
@@ -343,8 +343,8 @@ func (w *ChunkWriter) AddResource(resource []byte) (OptResource, error) {
|
||||
//
|
||||
// The caller may modify primary's contents after this method returns.
|
||||
func (w *ChunkWriter) AddChunk(
|
||||
dRangeSize uint64, primary []byte,
|
||||
secondary OptResource, tertiary OptResource, codec Codec) error {
|
||||
dRangeSize uint64, codec Codec, primary []byte,
|
||||
secondary OptResource, tertiary OptResource) error {
|
||||
|
||||
if dRangeSize == 0 {
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user