mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Rename RAC's Zstandard Short Codec value
The bits in the byte no longer need to be independent. We can enumerate 0, 1, 2, etc instead of 1<<0, 1<<1, 1<<2, etc.
This commit is contained in:
1 parent
84878498ef
commit
0f89b06207
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -84,7 +84,7 @@ func (c Codec) name() string {
|
||||
return "Zlib"
|
||||
case 2:
|
||||
return "LZ4"
|
||||
case 4:
|
||||
case 3:
|
||||
return "Zstandard"
|
||||
}
|
||||
}
|
||||
@@ -99,7 +99,7 @@ const (
|
||||
CodecZeroes = Codec(0x00 << 56)
|
||||
CodecZlib = Codec(0x01 << 56)
|
||||
CodecLZ4 = Codec(0x02 << 56)
|
||||
CodecZstandard = Codec(0x04 << 56)
|
||||
CodecZstandard = Codec(0x03 << 56)
|
||||
|
||||
codecMixBit = Codec(1 << 62)
|
||||
codecLongZeroes = Codec(1 << 63)
|
||||
|
||||
Reference in new issue
Block a user