private static int GetShortInverted(Stream istr) { return (istr.ReadByte() + istr.ReadByte() << 8); }