MCPcopy
hub / github.com/XTLS/REALITY / Value

Function Value

tls.go:153–158  ·  view source on GitHub ↗
(vals ...byte)

Source from the content-addressed store, hash-verified

151)
152
153func Value(vals ...byte) (value int) {
154 for i, val := range vals {
155 value |= int(val) << ((len(vals) - i - 1) * 8)
156 }
157 return
158}
159
160// You MUST call `DetectPostHandshakeRecordsLens(config)` in advance manually
161// if you don't use REALITY's listener, e.g., Xray-core's RAW transport.

Callers 1

ServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…