(vals ...byte)
| 151 | ) |
| 152 | |
| 153 | func 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…