add(value: MemberType) updating;
The add method of the JadeBytes class appends a single byte specified in the value parameter at the end of the receiver. The length of the JadeBytes object is increased by one.
This partial-update method clears the stored checksum of singleFile instances.
The following example shows the use of the add method.
vars bytes : JadeBytes; begin create bytes; bytes.add(#4A.Byte); bytes.add(#41.Byte); bytes.add(#44.Byte); bytes.add(#45.Byte); write bytes.getContent; // Writes "JADE" epilog delete bytes; end;