コード例 #1
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public double ToDouble(byte[] arr, int offset) => BitConverter.ToDouble(InverseConverter.fullInverse(arr, offset), 0);
コード例 #2
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public float ToSingle(byte[] arr, int offset) => BitConverter.ToSingle(InverseConverter.fullInverse(arr, offset), 0);
コード例 #3
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public uint ToUInt32(byte[] arr, int offset) => BitConverter.ToUInt32(InverseConverter.fullInverse(arr, offset), 0);
コード例 #4
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public ulong ToUInt64(byte[] arr, int offset) => BitConverter.ToUInt64(InverseConverter.fullInverse(arr, offset), 0);
コード例 #5
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public char ToChar(byte[] arr, int offset) => BitConverter.ToChar(InverseConverter.fullInverse(arr), offset);
コード例 #6
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public ushort ToUInt16(byte[] arr, int offset) => BitConverter.ToUInt16(InverseConverter.fullInverse(arr, offset), 0);
コード例 #7
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public double ToDouble(byte[] arr) => BitConverter.ToDouble(InverseConverter.fullInverse(arr), 0);
コード例 #8
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public float ToSingle(byte[] arr) => BitConverter.ToSingle(InverseConverter.fullInverse(arr), 0);
コード例 #9
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public ulong ToUInt64(byte[] arr) => BitConverter.ToUInt64(InverseConverter.fullInverse(arr), 0);
コード例 #10
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public uint ToUInt32(byte[] arr) => BitConverter.ToUInt32(InverseConverter.fullInverse(arr), 0);
コード例 #11
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public ushort ToUInt16(byte[] arr) => BitConverter.ToUInt16(InverseConverter.fullInverse(arr), 0);
コード例 #12
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public char ToChar(byte[] arr) => BitConverter.ToChar(InverseConverter.fullInverse(arr), 0);
コード例 #13
0
ファイル: InverseConverter.cs プロジェクト: DomCR/CSUtilities
 public byte[] GetBytes(float value)
 {
     byte[] bytes = BitConverter.GetBytes(value);
     InverseConverter.fullInverse(bytes);
     return(bytes);
 }