pull/2034/head
v2ray 8 years ago
commit 49056d9942
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

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

Loading…
Cancel
Save