Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
fixing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamjenson committed Aug 21, 2023
1 parent b879a19 commit e805396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engineio/payload/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (e *encoder) calcCodeUnitLength() int64 {
// starts with 11110 4 byte unicode char, probably 2 length in JS
codeUnitSize = 2
} else if b>>4 == 14 {
// starts with 1110 3 byte unicode char, probably 2 length in JS
// starts with 1110 3 byte unicode char, probably 1 length in JS
codeUnitSize = 1
} else if b>>5 == 6 {
// starts with 110 2 byte unicode char, , probably 1 length in JS
Expand Down

0 comments on commit e805396

Please sign in to comment.