1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
This commit is contained in:
Darien Raymond 2016-08-17 10:05:53 +00:00
parent 99821dc2fb
commit 8951c4da71

View File

@ -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