mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Refactor raczlib.Writer as rac part + zlib part
This commit is contained in:
1 parent
7d71bc590b
commit
4d2f575f2a
5 files changed
+537
-452
No files matched your search
@@ -40,8 +40,9 @@ func Example_roundTrip() {
|
||||
|
||||
// Create the RAC file.
|
||||
cBuf := &bytes.Buffer{}
|
||||
w := &raczlib.Writer{
|
||||
Writer: cBuf,
|
||||
w := &rac.Writer{
|
||||
Writer: cBuf,
|
||||
CodecWriter: &raczlib.CodecWriter{},
|
||||
// It's not necessary to explicitly declare the DChunkSize. The zero
|
||||
// value implies a reasonable default. Nonetheless, using a 1 KiB
|
||||
// DChunkSize (which is relatively small) makes for a more interesting
|
||||
|
||||
Reference in new issue
Block a user