C# 클래스 MAPIInspector.Parsers.FastTransferStream

Used for Parsing a fast transfer stream.
상속: System.IO.MemoryStream
파일 보기 프로젝트 열기: OfficeDev/Office-Inspectors-for-Fiddler 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GuidLength int

공개 메소드들

메소드 설명
FastTransferStream ( byte buffer, bool writable ) : System

Initializes a new instance of the FastTransferStream class.

ReadBlock ( int size ) : byte[]

Read bytes from stream, and advance the position.

ReadBlocks ( int totalSize, int blockSize ) : byte[][]

Read a list of blocks and advance the position.

ReadBoolean ( ) : ushort

Read a Boolean value from stream, and advance the position within the stream by 2

ReadByte ( ) : byte

Read a byte value from stream and advance the position within the stream by 1

ReadCurrency ( ) : long

Read a currency value from stream,and advance the position within the stream by 8

ReadFloating32 ( ) : float

Read a float value from stream, and advance the position within the stream by 4

ReadFloating64 ( ) : double

Read a double value from stream,and advance the position within the stream by 8

ReadFloatingTime ( ) : double

Read a FloatingTime value from stream, and advance the position within the stream by 8

ReadGuid ( ) : System.Guid

Read a GUID value from stream, and advance the position.

ReadInt16 ( ) : short

Read a short value from stream,and advance the position within the stream by 2

ReadInt32 ( ) : int

Read an int value from stream,and advance the position within the stream by 4

ReadInt64 ( ) : long

Read a long value from stream,and advance the position within the stream by 8

ReadLengthBlock ( ) : LengthOfBlock

Read LengthOfBlock and advance the position.

ReadLengthBlocks ( int totalLength ) : MAPIInspector.Parsers.LengthOfBlock[]

Read a list of LengthOfBlock and advance the position.

ReadMarker ( ) : Markers

Read a Markers value from stream,and advance the position within the stream by 4

ReadTime ( ) : ulong

Read a Time value from stream,and advance the position within the stream by 2

ReadUInt16 ( ) : ushort

Read a unsigned short integer value from stream,and advance the position within the stream by 2

ReadUInt32 ( ) : uint

Read a uint value from stream,and advance the position within the stream by 4

ReadUInt64 ( ) : ulong

Read the unsigned long integer value from stream, and advance the position within the stream by 8

Verify ( byte val, int offset ) : bool

Indicate the byte value at the position plus an offset equals a specified byte

Verify ( uint val ) : bool

Indicate the uint value at the position equals a specified uint value.

Verify ( uint val, int offset ) : bool

Indicate the uint value at the position plus an offset equals a specified uint value.

VerifyMarker ( Markers marker ) : bool

Indicate the Markers at the position equals a specified Markers.

VerifyMarker ( Markers marker, int offset ) : bool

Indicate the Markers at the current position plus an offsetequals a specified Markers

VerifyMetaProperty ( MetaProperties meta ) : bool

Indicate the MetaProperties at the position equals a specified MetaProperties

VerifyUInt16 ( ) : ushort

Get an unsigned short integer value for current position plus an offset and does not advance the position.

VerifyUInt16 ( int offset ) : ushort

Get an unsigned short integer value for current position plus an offset and do not advance the position.

VerifyUInt32 ( ) : uint

Get a uint value and do not advance the position.

메소드 상세

FastTransferStream() 공개 메소드

Initializes a new instance of the FastTransferStream class.
public FastTransferStream ( byte buffer, bool writable ) : System
buffer byte A bytes array.
writable bool Whether the stream supports writing.
리턴 System

ReadBlock() 공개 메소드

Read bytes from stream, and advance the position.
public ReadBlock ( int size ) : byte[]
size int The size of bytes
리턴 byte[]

ReadBlocks() 공개 메소드

Read a list of blocks and advance the position.
public ReadBlocks ( int totalSize, int blockSize ) : byte[][]
totalSize int The total number of bytes to read
blockSize int The size of each block
리턴 byte[][]

ReadBoolean() 공개 메소드

Read a Boolean value from stream, and advance the position within the stream by 2
public ReadBoolean ( ) : ushort
리턴 ushort

ReadByte() 공개 메소드

Read a byte value from stream and advance the position within the stream by 1
public ReadByte ( ) : byte
리턴 byte

ReadCurrency() 공개 메소드

Read a currency value from stream,and advance the position within the stream by 8
public ReadCurrency ( ) : long
리턴 long

ReadFloating32() 공개 메소드

Read a float value from stream, and advance the position within the stream by 4
public ReadFloating32 ( ) : float
리턴 float

ReadFloating64() 공개 메소드

Read a double value from stream,and advance the position within the stream by 8
public ReadFloating64 ( ) : double
리턴 double

ReadFloatingTime() 공개 메소드

Read a FloatingTime value from stream, and advance the position within the stream by 8
public ReadFloatingTime ( ) : double
리턴 double

ReadGuid() 공개 메소드

Read a GUID value from stream, and advance the position.
public ReadGuid ( ) : System.Guid
리턴 System.Guid

ReadInt16() 공개 메소드

Read a short value from stream,and advance the position within the stream by 2
public ReadInt16 ( ) : short
리턴 short

ReadInt32() 공개 메소드

Read an int value from stream,and advance the position within the stream by 4
public ReadInt32 ( ) : int
리턴 int

ReadInt64() 공개 메소드

Read a long value from stream,and advance the position within the stream by 8
public ReadInt64 ( ) : long
리턴 long

ReadLengthBlock() 공개 메소드

Read LengthOfBlock and advance the position.
public ReadLengthBlock ( ) : LengthOfBlock
리턴 LengthOfBlock

ReadLengthBlocks() 공개 메소드

Read a list of LengthOfBlock and advance the position.
public ReadLengthBlocks ( int totalLength ) : MAPIInspector.Parsers.LengthOfBlock[]
totalLength int The number of bytes to read
리턴 MAPIInspector.Parsers.LengthOfBlock[]

ReadMarker() 공개 메소드

Read a Markers value from stream,and advance the position within the stream by 4
public ReadMarker ( ) : Markers
리턴 Markers

ReadTime() 공개 메소드

Read a Time value from stream,and advance the position within the stream by 2
public ReadTime ( ) : ulong
리턴 ulong

ReadUInt16() 공개 메소드

Read a unsigned short integer value from stream,and advance the position within the stream by 2
public ReadUInt16 ( ) : ushort
리턴 ushort

ReadUInt32() 공개 메소드

Read a uint value from stream,and advance the position within the stream by 4
public ReadUInt32 ( ) : uint
리턴 uint

ReadUInt64() 공개 메소드

Read the unsigned long integer value from stream, and advance the position within the stream by 8
public ReadUInt64 ( ) : ulong
리턴 ulong

Verify() 공개 메소드

Indicate the byte value at the position plus an offset equals a specified byte
public Verify ( byte val, int offset ) : bool
val byte A uint value
offset int An int value
리턴 bool

Verify() 공개 메소드

Indicate the uint value at the position equals a specified uint value.
public Verify ( uint val ) : bool
val uint A uint value.
리턴 bool

Verify() 공개 메소드

Indicate the uint value at the position plus an offset equals a specified uint value.
public Verify ( uint val, int offset ) : bool
val uint A uint value
offset int An int value
리턴 bool

VerifyMarker() 공개 메소드

Indicate the Markers at the position equals a specified Markers.
public VerifyMarker ( Markers marker ) : bool
marker Markers A Markers value
리턴 bool

VerifyMarker() 공개 메소드

Indicate the Markers at the current position plus an offsetequals a specified Markers
public VerifyMarker ( Markers marker, int offset ) : bool
marker Markers A Markers to be verified
offset int An int value
리턴 bool

VerifyMetaProperty() 공개 메소드

Indicate the MetaProperties at the position equals a specified MetaProperties
public VerifyMetaProperty ( MetaProperties meta ) : bool
meta MetaProperties A MetaProperties value
리턴 bool

VerifyUInt16() 공개 메소드

Get an unsigned short integer value for current position plus an offset and does not advance the position.
public VerifyUInt16 ( ) : ushort
리턴 ushort

VerifyUInt16() 공개 메소드

Get an unsigned short integer value for current position plus an offset and do not advance the position.
public VerifyUInt16 ( int offset ) : ushort
offset int An int value
리턴 ushort

VerifyUInt32() 공개 메소드

Get a uint value and do not advance the position.
public VerifyUInt32 ( ) : uint
리턴 uint

프로퍼티 상세

GuidLength 공개적으로 정적으로 프로퍼티

public static int GuidLength
리턴 int