public static void Word2Byte(byte[] to, int toIndex, short from) {
to[toIndex] = (byte) (from >> 8);
to[toIndex + 1] = (byte) (from);
}
public static void Word2Byte(byte[] to, int toIndex, short from) {
阅读 37
2022-08-01
public static void Word2Byte(byte[] to, int toIndex, short from) {
to[toIndex] = (byte) (from >> 8);
to[toIndex + 1] = (byte) (from);
}
相关推荐
精彩评论(0)