0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 11:29:36 +03:00

chore fixed (#921)

* chore fixed
This commit is contained in:
Mustafa
2022-02-03 08:57:32 +08:00
committed by GitHub
parent d51db9469e
commit 42284a757c
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import (
"io"
)
// ReadUint16 reads first two bytes from the reader, and then coverts them to an uint16 value.
// ReadUint16 reads first two bytes from the reader, and then converts them to an uint16 value.
func ReadUint16(reader io.Reader) (uint16, error) {
var b [2]byte
if _, err := io.ReadFull(reader, b[:]); err != nil {