Cast To Bytes
Used to convert type variables Int16, UInt16, Int32, UInt32, Int64, UInt64 in bytes.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package. equipment. |
Block Cast To Bytes used to convert type variables Int16, UInt16, Int32, UInt32, Int64, UInt64 in bytes.
Ports
Input
#
in_v
—
Input port
scalar | vector | the matrix
Details
The port type changes dynamically, among the available options int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t from the base type of the variable. The input dimension is calculated dynamically from the input dimension of the variable.
| Data types |
|
| Complex numbers support |
I don’t |
Output
#
out_v
—
Output port
scalar | vector | the matrix
Details
Port type uint8_t, among the available options int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t from the base type of the variable. The output dimension is calculated dynamically from the input dimension of the variable.
| Data types |
|
| Complex numbers support |
I don’t |
Parameters
Main group
# Входной размер: — number of variables to convert
Details
The number of variables to convert. If you specify a unit (=1) is converted as a scalar value, if a value greater than one is specified (>1) is converted as a vector of these elements.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Тип базовой переменной: —
type of variable to convert to bytes
UInt16 | UInt32 | UInt64 | Int16 | Int32 | Int64
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
