C# 클래스 Wire.Extensions.StreamEx

파일 보기 프로젝트 열기: akkadotnet/Wire

공개 메소드들

메소드 설명
ReadInt32 ( this self, DeserializerSession session ) : int
ReadLengthEncodedByteArray ( this self, DeserializerSession session ) : byte[]
ReadObject ( this stream, DeserializerSession session ) : object
ReadString ( this stream, DeserializerSession session ) : string
ReadUInt16 ( this self, DeserializerSession session ) : uint
ReadVarint32 ( this stream ) : uint
ReadVarint64 ( this stream ) : ulong
Write ( this self, byte bytes ) : void
WriteLengthEncodedByteArray ( this self, byte bytes, SerializerSession session ) : void
WriteObject ( this stream, object value, Type valueType, ValueSerializer valueSerializer, bool preserveObjectReferences, SerializerSession session ) : void
WriteObjectWithManifest ( this stream, object value, SerializerSession session ) : void
WriteVarint32 ( this stream, uint value ) : void
WriteVarint64 ( this stream, ulong value ) : void

메소드 상세

ReadInt32() 공개 정적인 메소드

public static ReadInt32 ( this self, DeserializerSession session ) : int
self this
session DeserializerSession
리턴 int

ReadLengthEncodedByteArray() 공개 정적인 메소드

public static ReadLengthEncodedByteArray ( this self, DeserializerSession session ) : byte[]
self this
session DeserializerSession
리턴 byte[]

ReadObject() 공개 정적인 메소드

public static ReadObject ( this stream, DeserializerSession session ) : object
stream this
session DeserializerSession
리턴 object

ReadString() 공개 정적인 메소드

public static ReadString ( this stream, DeserializerSession session ) : string
stream this
session DeserializerSession
리턴 string

ReadUInt16() 공개 정적인 메소드

public static ReadUInt16 ( this self, DeserializerSession session ) : uint
self this
session DeserializerSession
리턴 uint

ReadVarint32() 공개 정적인 메소드

public static ReadVarint32 ( this stream ) : uint
stream this
리턴 uint

ReadVarint64() 공개 정적인 메소드

public static ReadVarint64 ( this stream ) : ulong
stream this
리턴 ulong

Write() 공개 정적인 메소드

public static Write ( this self, byte bytes ) : void
self this
bytes byte
리턴 void

WriteLengthEncodedByteArray() 공개 정적인 메소드

public static WriteLengthEncodedByteArray ( this self, byte bytes, SerializerSession session ) : void
self this
bytes byte
session SerializerSession
리턴 void

WriteObject() 공개 정적인 메소드

public static WriteObject ( this stream, object value, Type valueType, ValueSerializer valueSerializer, bool preserveObjectReferences, SerializerSession session ) : void
stream this
value object
valueType System.Type
valueSerializer Wire.ValueSerializers.ValueSerializer
preserveObjectReferences bool
session SerializerSession
리턴 void

WriteObjectWithManifest() 공개 정적인 메소드

public static WriteObjectWithManifest ( this stream, object value, SerializerSession session ) : void
stream this
value object
session SerializerSession
리턴 void

WriteVarint32() 공개 정적인 메소드

public static WriteVarint32 ( this stream, uint value ) : void
stream this
value uint
리턴 void

WriteVarint64() 공개 정적인 메소드

public static WriteVarint64 ( this stream, ulong value ) : void
stream this
value ulong
리턴 void