gecko/vms/rpcchainvm/ghttp/greader/greaderproto/greader.proto

16 lines
247 B
Protocol Buffer

syntax = "proto3";
package greaderproto;
message ReadRequest {
int32 length = 1;
}
message ReadResponse {
bytes read = 1;
string error = 2;
bool errored = 3;
}
service Reader {
rpc Read(ReadRequest) returns (ReadResponse);
}