C# Class Wire.Extensions.StreamEx

Afficher le fichier Open project: akkadotnet/Wire

Méthodes publiques

Méthode Description
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

Method Details

ReadInt32() public static méthode

public static ReadInt32 ( this self, DeserializerSession session ) : int
self this
session DeserializerSession
Résultat int

ReadLengthEncodedByteArray() public static méthode

public static ReadLengthEncodedByteArray ( this self, DeserializerSession session ) : byte[]
self this
session DeserializerSession
Résultat byte[]

ReadObject() public static méthode

public static ReadObject ( this stream, DeserializerSession session ) : object
stream this
session DeserializerSession
Résultat object

ReadString() public static méthode

public static ReadString ( this stream, DeserializerSession session ) : string
stream this
session DeserializerSession
Résultat string

ReadUInt16() public static méthode

public static ReadUInt16 ( this self, DeserializerSession session ) : uint
self this
session DeserializerSession
Résultat uint

ReadVarint32() public static méthode

public static ReadVarint32 ( this stream ) : uint
stream this
Résultat uint

ReadVarint64() public static méthode

public static ReadVarint64 ( this stream ) : ulong
stream this
Résultat ulong

Write() public static méthode

public static Write ( this self, byte bytes ) : void
self this
bytes byte
Résultat void

WriteLengthEncodedByteArray() public static méthode

public static WriteLengthEncodedByteArray ( this self, byte bytes, SerializerSession session ) : void
self this
bytes byte
session SerializerSession
Résultat void

WriteObject() public static méthode

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
Résultat void

WriteObjectWithManifest() public static méthode

public static WriteObjectWithManifest ( this stream, object value, SerializerSession session ) : void
stream this
value object
session SerializerSession
Résultat void

WriteVarint32() public static méthode

public static WriteVarint32 ( this stream, uint value ) : void
stream this
value uint
Résultat void

WriteVarint64() public static méthode

public static WriteVarint64 ( this stream, ulong value ) : void
stream this
value ulong
Résultat void