Just make the io.Reader etc aliases
This commit is contained in:
1 parent
3f6775e29b
commit
9ee4b76cd9
41 files changed
+137
-142
No files matched your search
@@ -68,7 +68,7 @@ hash_stream :: proc(s: io.Stream) -> ([DIGEST_SIZE]byte, bool) {
|
||||
defer delete(buf)
|
||||
read := 1
|
||||
for read > 0 {
|
||||
read, _ = io.read({s}, buf)
|
||||
read, _ = io.read(s, buf)
|
||||
if read > 0 {
|
||||
update(&ctx, buf[:read])
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user