()
| 1164 | * @since 4.0.0 |
| 1165 | */ |
| 1166 | export const encodeSslRequest = (): Uint8Array => { |
| 1167 | sharedWriter.begin() |
| 1168 | sharedWriter.int32(8) |
| 1169 | sharedWriter.int32(SSL_REQUEST_CODE) |
| 1170 | return sharedWriter.finish() |
| 1171 | } |
| 1172 | |
| 1173 | /** |
| 1174 | * Decodes the single byte the server sends in reply to an `SSLRequest`. `"S"` |