Hi Karthikey,
example in more detail:
before typecast:
U16 = 16706 -> bitpattern [0100 0001 0100 0010]
after typecast:
array of U8 = [65, 66] -> bitpattern [0100 0001, 0100 0010]
orstring = "AB" -> bitpattern [0100 0001, 0100 0010]
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019