Add a skeleton of an adler.update method.

This commit is contained in:
Nigel Tao committed 2017-10-19 18:58:17 +11:00
1 parent 5b0d6f6f3e
commit 50369c782c
5 files changed
+38 -2

No files matched your search

+4
View File
@@ -46,3 +46,7 @@ pub func zlib_decoder.decode?(dst writer1, src reader1)() {
pri struct adler?(
state u32 = 1,
)
pri func adler.update(x[] u8)(checksum u32) {
return this.state
}