MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / encode

Function encode

packages/ibkr/src/protobuf/QueryDisplayGroupsRequest.ts:21–26  ·  view source on GitHub ↗
(message: QueryDisplayGroupsRequest, writer: BinaryWriter = new BinaryWriter())

Source from the content-addressed store, hash-verified

19
20export const QueryDisplayGroupsRequest: MessageFns<QueryDisplayGroupsRequest> = {
21 encode(message: QueryDisplayGroupsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
22 if (message.reqId !== undefined) {
23 writer.uint32(8).int32(message.reqId);
24 }
25 return writer;
26 },
27
28 decode(input: BinaryReader | Uint8Array, length?: number): QueryDisplayGroupsRequest {
29 const reader = input instanceof BinaryReader ? input : new BinaryReader(input);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected