mirror of https://github.com/v2ray/v2ray-core
comment
parent
99821dc2fb
commit
8951c4da71
|
@ -52,6 +52,7 @@ func (b *Buffer) Clear() *Buffer {
|
|||
return b
|
||||
}
|
||||
|
||||
// Reset resets this Buffer into its original state.
|
||||
func (b *Buffer) Reset() *Buffer {
|
||||
b.offset = defaultOffset
|
||||
b.Value = b.head
|
||||
|
|
Loading…
Reference in New Issue