C# 클래스 Utilities.Web.Streams.UglyStream

Removes "pretty printing" from HTML
상속: Stream
파일 보기 프로젝트 열기: JaCraig/Craig-s-Utility-Library

공개 메소드들

메소드 설명
Flush ( ) : void

Nothing to flush

Read ( byte buffer, int offset, int count ) : int

Don't worry about

Seek ( long offset, SeekOrigin origin ) : long

Once again not implemented

SetLength ( long value ) : void

Don't worry about

UglyStream ( Stream StreamUsing, CompressionType Compression, MinificationType Type = MinificationType.HTML ) : System

Constructor

Write ( byte buffer, int offset, int count ) : void

Actually writes out the data

보호된 메소드들

메소드 설명
Evaluate ( Match Matcher ) : string

Evaluates whether the text has spaces, page breaks, etc. and removes them.

메소드 상세

Evaluate() 보호된 정적인 메소드

Evaluates whether the text has spaces, page breaks, etc. and removes them.
protected static Evaluate ( Match Matcher ) : string
Matcher System.Text.RegularExpressions.Match Match found
리턴 string

Flush() 공개 메소드

Nothing to flush
public Flush ( ) : void
리턴 void

Read() 공개 메소드

Don't worry about
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

Seek() 공개 메소드

Once again not implemented
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

Don't worry about
public SetLength ( long value ) : void
value long
리턴 void

UglyStream() 공개 메소드

Constructor
public UglyStream ( Stream StreamUsing, CompressionType Compression, MinificationType Type = MinificationType.HTML ) : System
StreamUsing Stream The stream for the page
Compression CompressionType The compression we're using (gzip or deflate)
Type MinificationType Minification type to use (defaults to HTML)
리턴 System

Write() 공개 메소드

Actually writes out the data
public Write ( byte buffer, int offset, int count ) : void
buffer byte the page's data in byte form
offset int offset of the data
count int the amount of data
리턴 void