public static unsafe Int32 ReadInt32(this Stream stream) { Int32 v; stream.ReadNoAlloc((byte*)&v, 0, sizeof(Int32)); return v; }
public static unsafe Int64 ReadInt64(this Stream stream) { Int64 v; stream.ReadNoAlloc((byte*)&v, 0, sizeof(Int64)); return v; }