Byte layout of rpc response
field | magic | callid | type | payload |
---|---|---|---|---|
size | 4 | 4 | 1 | N |
The type field is either byte:0 (success) or byte:33 (failure). In case of success payload is response object, in case of failure is error object and needs to be decoded with error decoder.
Generated using TypeDoc
Byte layout of rpc invocation