コード例 #1
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static ulong?GetUInt64(this byte[] bytes) => bytes?.GetBinaryReader().ReadUInt64();
コード例 #2
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static ushort?GetUInt16(this byte[] bytes) => bytes?.GetBinaryReader().ReadUInt16();
コード例 #3
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static uint?GetUInt32(this byte[] bytes) => bytes?.GetBinaryReader().ReadUInt32();
コード例 #4
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static float?GetSingle(this byte[] bytes) => bytes?.GetBinaryReader().ReadSingle();
コード例 #5
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static string GetString(this byte[] bytes) => bytes?.GetBinaryReader().ReadString();
コード例 #6
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static double?GetDouble(this byte[] bytes) => bytes?.GetBinaryReader().ReadDouble();
コード例 #7
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static sbyte?GeSByte(this byte[] bytes) => bytes?.GetBinaryReader().ReadSByte();
コード例 #8
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static decimal?GetDecimal(this byte[] bytes) => bytes?.GetBinaryReader().ReadDecimal();
コード例 #9
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static char[] GetChars(this byte[] bytes, int count) => bytes?.GetBinaryReader().ReadChars(count);
コード例 #10
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static char?GetChar(this byte[] bytes) => bytes?.GetBinaryReader().ReadChar();
コード例 #11
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static byte[] GetBytes(this byte[] bytes, int count) => bytes?.GetBinaryReader().ReadBytes(count);
コード例 #12
0
ファイル: ByteExtensions.cs プロジェクト: X10sions/X10sions
 public static bool?GetBoolean(this byte[] bytes) => bytes?.GetBinaryReader().ReadBoolean();