--- a
+++ b/branches/i-campbell/mqttsparkplugb/mqttsparkplugb/SparkplugB/Function Blocks/FB_Payload_1/FB_Payload/DecodeNextBinaryData/svnobj
@@ -0,0 +1,25 @@
+Gx_lQ
+!0…jüoøB-˜û1K5ÝzSystem.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
+longTagText
´//i will start pointing to the first byte of the varint representing the binay data length<dviTemp := DecodeNextVarInt();Ž//i is now pointing to one byte before the first byte of the binarydata˜DecodeNextBinaryData := ClaimNextFreeBody(numberBytesRequested:= dviTemp.Int32, numberBytesClaimed=> numBytes, StartIndex=> BodyStartIndex);öMemUtils.MemCpy(pbyDest:= ADR(myBodyPool[BodyStartIndex]), pbySrc:= ADR(myProtobufBlob[i+1]), dwSize:= TO_DWORD(numBytes));2i := i + (dviTemp.Int32);l//i is now pointing to the last byte of the binarydataInterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}VMETHOD PRIVATE DecodeNextBinaryData : ERROR$//from the main FB//i :DINT;<//pbPayload : POINTER TO BYTE;2//udiPayloadSize : UDINT;VAR_INPUTEND_VARVAR_OUTPUT$	numBytes  : DINT; .	BodyStartIndex : DINT;ÐÐÐEÐÐ	
+­ÚÐ-
ÐÐ	
+­ÚÐ-ÐÐ	
+­ÚÐ-ÐÐ	
+­,ÚÐ-ÐÐ	
+­AÚÐ-ÐÐ	
+­BÚÐ-ÐÐ	
+­)ÚÐ-ÐÐ	
+­(ÚÐ-ÐÐ	
+­0ÚÐ-ÐÐ	
+­/ÚÐ-ÐÐ	
+­ÚÐ-ÐÐEÐÐ	
+­1ÚÐ-ÐÐ	
+­2ÚÐ-ÐÐ	
+­3ÚÐ-ÐÐ	
+­4ÚÐ-ÐÐ	
+­5ÚÐ-ÐÐ	
+­:ÚÐ-ÐÐ	
+­<ÚÐ-ÐÐ	
+­6ÚÐ-ÐÐ	
+­8ÚÐ-ÐÐ	
+­CÚÐ- ÐÐ	
+­ÚÐ-
\ No newline at end of file