writeUnaryResult
function writeUnaryResult(envelopeSchema, resultBytes): Uint8Array;Defined in: src/wire/public.ts:196
Build a unary-RPC response IPC stream wrapping resultBytes.
The inverse of readUnaryResult: emit a single data batch whose
result column carries resultBytes under envelopeSchema.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
envelopeSchema |
VgiSchema |
resultBytes |
Uint8Array |
Returns
Section titled “Returns”Uint8Array
