mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-27 06:10:26 +08:00
optimize(helper): writer decl.
This commit is contained in:
@@ -80,7 +80,7 @@ func (p *packet) ReadFrom(r io.Reader) (n int64, err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
p.dat = w.TransBytes()
|
||||
p.dat = w.TransUnderlyingBytes()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user