C# 클래스 SilentOrbit.ProtocolBuffers.ProtocolParser

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

공개 메소드들

메소드 설명
ReadBytes ( System.Stream stream ) : byte[]

Reads a length delimited byte array

ReadString ( System.Stream stream ) : string
SkipBytes ( System.Stream stream ) : void

Skip the next varint length prefixed bytes. Alternative to ReadBytes when the data is not of interest.

WriteBytes ( System.Stream stream, byte val ) : void

Writes length delimited byte array

WriteString ( System.Stream stream, string val ) : void

메소드 상세

ReadBytes() 공개 정적인 메소드

Reads a length delimited byte array
public static ReadBytes ( System.Stream stream ) : byte[]
stream System.Stream
리턴 byte[]

ReadString() 공개 정적인 메소드

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

SkipBytes() 공개 정적인 메소드

Skip the next varint length prefixed bytes. Alternative to ReadBytes when the data is not of interest.
public static SkipBytes ( System.Stream stream ) : void
stream System.Stream
리턴 void

WriteBytes() 공개 정적인 메소드

Writes length delimited byte array
public static WriteBytes ( System.Stream stream, byte val ) : void
stream System.Stream
val byte
리턴 void

WriteString() 공개 정적인 메소드

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