예제 #1
0
 public static ulong?GetUInt64(this byte[] bytes) => bytes?.GetBinaryReader().ReadUInt64();
예제 #2
0
 public static ushort?GetUInt16(this byte[] bytes) => bytes?.GetBinaryReader().ReadUInt16();
예제 #3
0
 public static uint?GetUInt32(this byte[] bytes) => bytes?.GetBinaryReader().ReadUInt32();
예제 #4
0
 public static float?GetSingle(this byte[] bytes) => bytes?.GetBinaryReader().ReadSingle();
예제 #5
0
 public static string GetString(this byte[] bytes) => bytes?.GetBinaryReader().ReadString();
예제 #6
0
 public static double?GetDouble(this byte[] bytes) => bytes?.GetBinaryReader().ReadDouble();
예제 #7
0
 public static sbyte?GeSByte(this byte[] bytes) => bytes?.GetBinaryReader().ReadSByte();
예제 #8
0
 public static decimal?GetDecimal(this byte[] bytes) => bytes?.GetBinaryReader().ReadDecimal();
예제 #9
0
 public static char[] GetChars(this byte[] bytes, int count) => bytes?.GetBinaryReader().ReadChars(count);
예제 #10
0
 public static char?GetChar(this byte[] bytes) => bytes?.GetBinaryReader().ReadChar();
예제 #11
0
 public static byte[] GetBytes(this byte[] bytes, int count) => bytes?.GetBinaryReader().ReadBytes(count);
예제 #12
0
 public static bool?GetBoolean(this byte[] bytes) => bytes?.GetBinaryReader().ReadBoolean();