public int GetInt() { byte[] bytes = GetBytes(4); int i = System.BitConverter.ToInt32(bytes, 0); return i; }