Rename some copy_from_xxx methods

This commit is contained in:
Nigel Tao committed 2018-07-08 13:56:49 +10:00
1 parent 732365b80d
commit 26eba56f57
17 files changed
+217 -218

No files matched your search

+1 -1
View File
@@ -229,7 +229,7 @@ pri func decoder.decode_uncompressed?(dst base.io_writer, src base.io_reader)()
}
length = length.low_bits(n:16)
while true {
var n_copied base.u32 = in.dst.copy_from_reader32!(r:in.src, length:length)
var n_copied base.u32 = in.dst.copy_n_from_reader!(n:length, r:in.src)
if length <= n_copied {
return
}