You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// to pass arbitrary data, without having to create a closure.
60
60
pubtypeChunkCallback=fn (chunk []u8, userdata voidptr) int
61
61
62
-
// decompress_with_callback decompresses an array of bytes based on the provided flags,
63
-
// and a V fn callback to receive decompressed chunks, of at most 32 kilobytes each.
62
+
// decompress_with_callback decompresses an array of bytes, based on the provided flags, and a V fn callback to receive decompressed chunks, of at most 32 kilobytes each.
64
63
// It returns the total decompressed length, or a decompression error.
65
64
// NB: this is a low level api, a high level implementation like zlib/gzip should be preferred.
0 commit comments