C# 클래스 ProtocolBuffers.ProtocolParser

파일 보기 프로젝트 열기: enyim/ProtoBuf 1 사용 예제들

공개 메소드들

메소드 설명
ReadBytes ( Stream stream ) : byte[]
ReadKey ( Stream stream ) : Key
ReadKey ( byte firstByte, Stream stream ) : Key
ReadString ( Stream stream ) : string
SkipKey ( Stream stream, Key key ) : void
WriteBytes ( Stream stream, byte val ) : void
WriteKey ( Stream stream, Key key ) : void
WriteString ( Stream stream, string val ) : void

비공개 메소드들

메소드 설명
ReadDouble ( BinaryReader reader ) : double
ReadFixed32 ( BinaryReader reader ) : uint
ReadFixed64 ( BinaryReader reader ) : ulong
ReadFloat ( BinaryReader reader ) : float
ReadSFixed32 ( BinaryReader reader ) : int
ReadSFixed64 ( BinaryReader reader ) : long
WriteDouble ( BinaryWriter writer, double val ) : void
WriteFixed32 ( BinaryWriter writer, uint val ) : void
WriteFixed64 ( BinaryWriter writer, ulong val ) : void
WriteFloat ( BinaryWriter writer, float val ) : void
WriteSFixed32 ( BinaryWriter writer, int val ) : void
WriteSFixed64 ( BinaryWriter writer, long val ) : void

메소드 상세

ReadBytes() 공개 정적인 메소드

public static ReadBytes ( Stream stream ) : byte[]
stream Stream
리턴 byte[]

ReadKey() 공개 정적인 메소드

public static ReadKey ( Stream stream ) : Key
stream Stream
리턴 Key

ReadKey() 공개 정적인 메소드

public static ReadKey ( byte firstByte, Stream stream ) : Key
firstByte byte
stream Stream
리턴 Key

ReadString() 공개 정적인 메소드

public static ReadString ( Stream stream ) : string
stream Stream
리턴 string

SkipKey() 공개 정적인 메소드

public static SkipKey ( Stream stream, Key key ) : void
stream Stream
key Key
리턴 void

WriteBytes() 공개 정적인 메소드

public static WriteBytes ( Stream stream, byte val ) : void
stream Stream
val byte
리턴 void

WriteKey() 공개 정적인 메소드

public static WriteKey ( Stream stream, Key key ) : void
stream Stream
key Key
리턴 void

WriteString() 공개 정적인 메소드

public static WriteString ( Stream stream, string val ) : void
stream Stream
val string
리턴 void