1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
This commit is contained in:
v2ray 2016-08-17 15:25:40 +02:00
commit 49056d9942
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -52,6 +52,7 @@ func (b *Buffer) Clear() *Buffer {
return b return b
} }
// Reset resets this Buffer into its original state.
func (b *Buffer) Reset() *Buffer { func (b *Buffer) Reset() *Buffer {
b.offset = defaultOffset b.offset = defaultOffset
b.Value = b.head b.Value = b.head