0
我要打包和解包從/ 16位的詮釋成USHORT在VB.net位包的Int16成USHORT VB.net
這是我想我能做到這一點(不工作,給我溢出異常)
'Pack Int16 into ushort '
Dim usPacked = CType(Data, UShort)
'unpack Int16 from ushort '
Dim unpacked = CType(data,Int16)
謝謝!