--- a
+++ b/project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_payload_ad205903/fb_payload_ddc74abf/decode_ada081bc/decodenextvarint_cf4dbb92/cf4dbb92d0e241a3b06747fe01e47737.object
@@ -0,0 +1 @@
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)cf4dbb92-d0e2-41a3-b067-47fe01e47737","ParentGuid":"(Guid)ddc74abf-e7a4-407a-a4f5-0c8338e771b9","Name":"(string)DecodeNextVarInt","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)ada081bc-eb7a-454c-99d0-0ff08ee6247f"}]}}}}]},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)140","Tag":null,"Text":"(string)//i will start pointing to the first byte of the varint"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)141","Tag":null,"Text":"(string)//TIP Protobuf VarInts are always little endian (least significant 7bits will come first)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)142","Tag":null,"Text":"(string)WHILE myProtobufBlob[i].7 DO"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)143","Tag":null,"Text":"(string)    DecodeNextVarInt.UInt64 := DecodeNextVarInt.UInt64 OR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)144","Tag":null,"Text":"(string)        SHL(TO_ULINT(myProtobufBlob[i] AND 2#0111_1111),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)145","Tag":null,"Text":"(string)        j);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)146","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)147","Tag":null,"Text":"(string)    j := j + 7;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)148","Tag":null,"Text":"(string)    i := i + 1;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)149","Tag":null,"Text":"(string)END_WHILE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)150","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)151","Tag":null,"Text":"(string)DecodeNextVarInt.UInt64 := DecodeNextVarInt.UInt64 OR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)152","Tag":null,"Text":"(string)    SHL(TO_ULINT(myProtobufBlob[i] AND 2#0111_1111),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)153","Tag":null,"Text":"(string)    j);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)154","Tag":null,"Text":"(string)//i will end pointing to the last byte of the varint"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)19","Tag":null,"Text":"(string)//Returns the decoded value"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)133","Tag":null,"Text":"(string)METHOD DecodeNextVarInt : DecodedVarInt"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)134","Tag":null,"Text":"(string)//from the main FB"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)135","Tag":null,"Text":"(string)//i :DINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)136","Tag":null,"Text":"(string)//pbPayload : POINTER TO BYTE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)137","Tag":null,"Text":"(string)//udiPayloadSize : UDINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)138","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)139","Tag":null,"Text":"(string)    j : DINT := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)23","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file