public static void DWord2Byte(byte[] to, int toIndex, long from) {
to[toIndex] = (byte) (from >> 24);
to[toIndex + 1] = (byte) (from >> 16);
to[toIndex + 2] = (byte) (from >> 8);
to[toIndex + 3] = (byte) (from);
}
public static void DWord2Byte(byte[] to, int toIndex, long from) {
to[toIndex] = (byte) (from >> 24);
to[toIndex + 1] = (byte) (from >> 16);
to[toIndex + 2] = (byte) (from >> 8);
to[toIndex + 3] = (byte) (from);
}