protected static Vector2i ReadShortRelativeCoordinates(Stream stream, Vector2i to) { var input = ReadByte(stream); to.X += ((input & 0x70) >> 4) * ((input & 0x80) == 0 ? 1 : -1); to.Y += (input & 0x07) * ((input & 0x08) == 0 ? 1 : -1); return to; }