_Builder.WriteMemSegment (METH)ΒΆ

METHOD FINAL WriteMemSegment : UDINT

Writes the memory to one or more segments in the buffer.
It returns the number of bytes written.
InOut:

Scope

Name

Type

Initial

Comment

Return

WriteMemSegment

UDINT

Input

pbyMemory

POINTER TO BYTE

Entry pointer for memory

udiSize

UDINT

Size of memory in byte

eEncoding

ENCODING

ENCODING.UTF8

Encoding type

Output

eErrorID

ERROR

Check error message for better diagnostics