(options: Omit<SASLResponse, "_tag">)
| 1093 | * @since 4.0.0 |
| 1094 | */ |
| 1095 | export const encodeSASLResponse = (options: Omit<SASLResponse, "_tag">): Uint8Array => { |
| 1096 | const writer = begin(0x70) |
| 1097 | writer.raw(options.data) |
| 1098 | return end() |
| 1099 | } |
| 1100 | |
| 1101 | /** |
| 1102 | * Encodes any frontend message. |