(message)
| 66 | } |
| 67 | |
| 68 | function errorStep(message) { |
| 69 | const details = writeStringField(1, message); |
| 70 | const errorMessage = writeMessageField(3, details); |
| 71 | return Buffer.concat([ |
| 72 | writeVarintField(1, 17), |
| 73 | writeVarintField(4, 3), |
| 74 | writeMessageField(24, errorMessage), |
| 75 | ]); |
| 76 | } |
| 77 | |
| 78 | function trajectoryStepsResponse(...steps) { |
| 79 | return Buffer.concat(steps.map(step => writeMessageField(1, step))); |
no test coverage detected