internal void WriteMapEnd( [NotNull] Map map ) { if ( map == null ) throw new ArgumentNullException( "map" ); Write( OpCode.MapEnd ); Write( ( short )map.Width ); Write( ( short )map.Height ); Write( ( short )map.Length ); }