1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 17:27:23 -05:00
This commit is contained in:
Darien Raymond 2016-12-09 00:25:48 +01:00
parent a3cb770f77
commit cd24d6f2d0
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -185,7 +185,7 @@ func (b *Buffer) FillFullFrom(reader io.Reader, amount int) (int, error) {
}
func (b *Buffer) String() string {
return string(b.v[b.start:b.end])
return string(b.Bytes())
}
// NewBuffer creates a Buffer with 8K bytes of arbitrary content.