Convert a ushort value into two byte values in C#

前端 未结 2 947
無奈伤痛
無奈伤痛 2021-01-23 02:18

How do I split a ushort into two byte variables in C#?

I tried the following (package.FrameID is ushort):

When I try to calculate this with paper&pencil I ge

2条回答
提交回复
热议问题