(message: Message)
| 55 | } |
| 56 | |
| 57 | export function parseBackendKeyMessage(message: Message): { |
| 58 | pid: number; |
| 59 | secret_key: number; |
| 60 | } { |
| 61 | return { |
| 62 | pid: message.reader.readInt32(), |
| 63 | secret_key: message.reader.readInt32(), |
| 64 | }; |
| 65 | } |
| 66 | |
| 67 | /** |
| 68 | * This function returns the command result tag from the command message |