(remoteId: string | Uint8Array)
| 252 | } |
| 253 | |
| 254 | const encodeRemoteIdField = (remoteId: string | Uint8Array): Uint8Array => |
| 255 | typeof remoteId === "string" |
| 256 | ? textEncoder.encode(remoteId) |
| 257 | : textEncoder.encode(bytesToHex(remoteId)) |
| 258 | |
| 259 | /** |
| 260 | * Encodes a session authentication payload into the canonical byte format. |
no test coverage detected