Builder.ValidateSegment (METH)ΒΆ

METHOD FINAL ValidateSegment : ERROR

This method validates the current segment of the builder
To get a free segment out of the builder, method GetCurrentSegment can be called beforehand
InOut:

Scope

Name

Type

Comment

Return

ValidateSegment

ERROR

Input

pbyData

POINTER TO BYTE

Pointer to the first byte of the segment

udiSize

UDINT

Size of the first segment

Output

udiCount

UDINT

The amount of validated bytes in builder