Writes the unsigned short (int) as 2 bytes into the byte array at position
![](../icons/collapse_all.gif)
Declaration Syntax
![](../icons/collapse_all.gif)
Parameters
- ba (array<
Byte
>[]()[])
- the byte array
- pos (Int32)
- the starting position
- s (UInt16)
- the ushort to write
![](../icons/collapse_all.gif)
Return Value
the updated position in the byte array after the write
Assembly:
lbmcspdm (Module: lbmcspdm) Version: 5.3.6.0 (1.0.0.0)