Sub SendData(ssType As Byte, PLoad() As Byte)
'Dim size as Int = ... Calculated about Type parameter
Dim Pkt(PLoad.Length+2) As Byte
Dim Hd (2) as Byte = array as byte (Header,ssType)
If PLoad <> Null Then
bc.ArrayCopy(PLoad, 0, Hd, 0, Hd.Length)
bc.ArrayCopy(PLoad, 0, Pkt, 2, PLoad.Length)
End if
EndSub