public void WriteMapChunk( [NotNull] byte[] chunk, int chunkSize, byte progress ) { if ( chunk == null ) throw new ArgumentNullException( "chunk" ); Write( OpCode.MapChunk ); Write( ( short )chunkSize ); Write( chunk, 0, 1024 ); Write( progress ); }