mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-05 11:48:41 +00:00
Merge branch 'main' into dns
This commit is contained in:
commit
d3533abe3c
28 changed files with 407 additions and 151 deletions
|
@ -38,7 +38,7 @@ func NewExisted(b []byte) *Buffer {
|
|||
|
||||
oLen := len(b)
|
||||
if oLen < Size {
|
||||
b = append(b, make([]byte, Size-oLen)...)
|
||||
b = b[:Size]
|
||||
}
|
||||
|
||||
return &Buffer{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue