コード例 #1
0
ファイル: MathUtils.cs プロジェクト: qade544/RCPA.Core
        public static double[] Byte32ToDoubleList(int expectedLength, bool isBigEndian, byte[] dataBytes)
        {
            IByteConvert convert = new ByteConvert(isBigEndian, 32);

            convert.ValidateLength(dataBytes, expectedLength);

            return(convert.ByteToArray(dataBytes));
        }
コード例 #2
0
ファイル: MathUtils.cs プロジェクト: shengqh/RCPA.Core
    public static double[] Byte32ToDoubleList(int expectedLength, bool isBigEndian, byte[] dataBytes)
    {
      IByteConvert convert = new ByteConvert(isBigEndian, 32);

      convert.ValidateLength(dataBytes, expectedLength);

      return convert.ByteToArray(dataBytes);
    }
コード例 #3
0
 protected override void InitializeConvert()
 {
   convert = new ByteConvert(false, 32);
 }
コード例 #4
0
 protected override void InitializeConvert()
 {
     convert = new ByteConvert(true, 32);
 }
コード例 #5
0
 protected override void InitializeConvert()
 {
   convert = new ByteConvert(true, 64);
 }
コード例 #6
0
 protected override void InitializeConvert()
 {
     convert = new ByteConvert(false, 64);
 }