C# 클래스 SteamKit2.Blob.BlobReader

Represents the base blob reader that can process a binary blob.
상속: IDisposable
파일 보기 프로젝트 열기: Top-Cat/SteamBot 1 사용 예제들

공개 메소드들

메소드 설명
CreateFrom ( Stream inputSteam ) : BlobReader

Create a BlobReader from a Stream. Does not take ownership of the Stream.

CreateFrom ( string fileName ) : BlobReader

Create a new BlobReader from a file path

Dispose ( ) : void

Dispose the BlobReader, releasing any Streams allocated.

ReadFieldBlob ( ) : BlobReader

Reads a field as a Blob

ReadFieldHeader ( ) : void

Read the next Field in the blob

SkipField ( ) : void

Skip over a field, discarding the contents of a field

SkipSpare ( ) : void

Skip over the spare, discarding the contents

비공개 메소드들

메소드 설명
BlobReader ( Stream blobSource, bool ownsSource = true ) : System
CanTakeBytes ( int size ) : bool
ReadBlobHeader ( ) : void
ReadFieldStream ( ) : Stream
TakeBytes ( int size ) : void
UnpackBlobIfNeeded ( ) : void

메소드 상세

CreateFrom() 공개 정적인 메소드

Create a BlobReader from a Stream. Does not take ownership of the Stream.
public static CreateFrom ( Stream inputSteam ) : BlobReader
inputSteam Stream Source
리턴 BlobReader

CreateFrom() 공개 정적인 메소드

Create a new BlobReader from a file path
public static CreateFrom ( string fileName ) : BlobReader
fileName string Path to blob
리턴 BlobReader

Dispose() 공개 메소드

Dispose the BlobReader, releasing any Streams allocated.
public Dispose ( ) : void
리턴 void

ReadFieldBlob() 공개 메소드

Reads a field as a Blob
public ReadFieldBlob ( ) : BlobReader
리턴 BlobReader

ReadFieldHeader() 공개 메소드

Read the next Field in the blob
public ReadFieldHeader ( ) : void
리턴 void

SkipField() 공개 메소드

Skip over a field, discarding the contents of a field
public SkipField ( ) : void
리턴 void

SkipSpare() 공개 메소드

Skip over the spare, discarding the contents
public SkipSpare ( ) : void
리턴 void