mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-02 23:35:40 -05:00
rename Slice and Slice from to Resize and Advance
This commit is contained in:
@@ -145,7 +145,7 @@ func (r *AuthenticationReader) readInternal(soft bool) (*buf.Buffer, error) {
|
||||
b.Release()
|
||||
return nil, err
|
||||
}
|
||||
b.Slice(0, int32(len(rb)))
|
||||
b.Resize(0, int32(len(rb)))
|
||||
|
||||
return b, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user