mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
comments
This commit is contained in:
@@ -179,7 +179,7 @@ func New() *Buffer {
|
||||
}
|
||||
}
|
||||
|
||||
// NewSize creates and returns a buffer given capacity.
|
||||
// NewSize creates and returns a buffer with 0 length and at least the given capacity.
|
||||
func NewSize(size uint32) *Buffer {
|
||||
return &Buffer{
|
||||
v: newBytes(size),
|
||||
|
||||
Reference in New Issue
Block a user