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