Ejemplo n.º 1
0
 public static byte[] Cof_To2BytesX(this int D)
 {
     byte[] Dbytes = new byte[2];
     TxtToolBLL.int2Byte(D, Dbytes, 0, 2, true);
     return(Dbytes);
 }
Ejemplo n.º 2
0
 public static byte[] Cof_ToBytesX(this long D, int Len)
 {
     byte[] Dbytes = new byte[Len];
     TxtToolBLL.int2Byte(D, Dbytes, 0, Len, true);
     return(Dbytes);
 }
Ejemplo n.º 3
0
 public static byte[] Cof_To4Bytes(this int D)
 {
     byte[] Dbytes = new byte[4];
     TxtToolBLL.int2Byte(D, Dbytes, 0, 4, false);
     return(Dbytes);
 }