mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Let rac.Writer support shared resources
This commit is contained in:
1 parent
1cb1f1d527
commit
ac4fed2275
5 files changed
+284
-46
No files matched your search
@@ -43,6 +43,12 @@ func putU64LE(b []byte, v uint64) {
|
||||
b[7] = byte(v >> 56)
|
||||
}
|
||||
|
||||
// OptResource is an option type, optionally holding a ChunkWriter-specific
|
||||
// identifier for a shared resource.
|
||||
//
|
||||
// Zero means that the option is not taken: no shared resource is used.
|
||||
type OptResource uint32
|
||||
|
||||
// ChunkWriter provides a relatively simple way to write a RAC file - one that
|
||||
// is created starting from nothing, as opposed to incrementally modifying an
|
||||
// existing RAC file.
|
||||
|
||||
Reference in new issue
Block a user