mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
CUETools.Flake: better use of new window functions
This commit is contained in:
@@ -108,6 +108,12 @@ namespace CUETools.Codecs
|
||||
writebits(8, (byte)s[i]);
|
||||
}
|
||||
|
||||
public void write(byte[] s)
|
||||
{
|
||||
for (int i = 0; i < s.Length; i++)
|
||||
writebits(8, s[i]);
|
||||
}
|
||||
|
||||
public void writebits_signed(int bits, int val)
|
||||
{
|
||||
writebits(bits, val & ((1 << bits) - 1));
|
||||
|
||||
Reference in New Issue
Block a user