mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:31:12 +08:00
1 parent
151ddb0a20
commit
d97c6f4e6f
60 files changed
+570
-262
No files matched your search
+1
-1
@@ -104,7 +104,7 @@ func packageDataEqual(ctx context.Context, reader *Reader, name string, data []b
|
||||
return false, err
|
||||
}
|
||||
defer stream.Close()
|
||||
input := imageInput{ReadCloser: stream, context: ctx}
|
||||
input := imageInput{ReadCloser: stream, ctx: ctx}
|
||||
var buffer [32 << 10]byte
|
||||
for len(data) != 0 {
|
||||
block := buffer[:min(len(buffer), len(data))]
|
||||
|
||||
Reference in new issue
Block a user