Core.Terms.SubByteField
Jump to navigation
Jump to search
Contents
Classification
Name | SubByteField |
Short Description | Return of a part ByteFields |
Class | Term |
Extension | OTX Core library |
Group | ByteField operations |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ByteFieldTerm = ByteField.SubByteField(ByteFieldTerm, IntegerTerm, IntegerTerm);
Description
SubByteField is a term, which starting returns a number of bytes as a result from a position in the ByteField.
Important: Please keep in mind that this TermActivity in the form of an activity exists and no text can be entered. According to the respective ActionNode can further properties are added. |
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
ByteField | Returns of a number of bytes from the ByteField |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ByteFieldTerm | ByteField | Term | - | [1] | Source ByteField |
Index | Integer | Term | - | [1] | Position (zero based) in the ByteField from which the bytes should be returned |
Count | Integer | Term | - | [1] | Number of bytes that should be returned. |
OTL Examples
ByteField result;
result = ByteField.SubByteField(&1234, 1, 1);
//Returns result = &34
See also
BitwiseAnd
BitwiseOr
BitwiseXor
BitwiseNot
ByteFieldGetSize
GetBit