Méthode | Description | |
---|---|---|
Deserialize ( System.Stream stream ) : |
Helper: create a new instance to deserializing into
|
|
Deserialize ( byte buffer ) : |
Helper: put the buffer into a MemoryStream and create a new instance to deserializing into
|
|
Deserialize ( System.Stream stream, Personal instance ) : Personal.AddressBook |
Takes the remaining content of the stream and deserialze it into the instance.
|
|
Deserialize ( byte buffer, Personal instance ) : Personal.AddressBook |
Helper: put the buffer into a MemoryStream before deserializing
|
|
DeserializeLength ( System.Stream stream, int length ) : |
Helper: create a new instance to deserializing into
|
|
DeserializeLength ( System.Stream stream, int length, Personal instance ) : Personal.AddressBook |
Read the given number of bytes from the stream and deserialze it into the instance.
|
|
DeserializeLengthDelimited ( System.Stream stream ) : |
Helper: create a new instance to deserializing into
|
|
DeserializeLengthDelimited ( System.Stream stream, Personal instance ) : Personal.AddressBook |
Read the VarInt length prefix and the given number of bytes from the stream and deserialze it into the instance.
|
|
Serialize ( System.Stream stream, |
Serialize the instance into the stream
|
|
SerializeLengthDelimited ( System.Stream stream, |
Helper: Serialize with a varint length prefix
|
|
SerializeToBytes ( |
Helper: Serialize into a MemoryStream and return its byte array
|
public static Deserialize ( System.Stream stream ) : |
||
stream | System.Stream | |
Résultat |
public static Deserialize ( byte buffer ) : |
||
buffer | byte | |
Résultat |
public static Deserialize ( System.Stream stream, Personal instance ) : Personal.AddressBook | ||
stream | System.Stream | |
instance | Personal | |
Résultat | Personal.AddressBook |
public static Deserialize ( byte buffer, Personal instance ) : Personal.AddressBook | ||
buffer | byte | |
instance | Personal | |
Résultat | Personal.AddressBook |
public static DeserializeLength ( System.Stream stream, int length ) : |
||
stream | System.Stream | |
length | int | |
Résultat |
public static DeserializeLength ( System.Stream stream, int length, Personal instance ) : Personal.AddressBook | ||
stream | System.Stream | |
length | int | |
instance | Personal | |
Résultat | Personal.AddressBook |
public static DeserializeLengthDelimited ( System.Stream stream ) : |
||
stream | System.Stream | |
Résultat |
public static DeserializeLengthDelimited ( System.Stream stream, Personal instance ) : Personal.AddressBook | ||
stream | System.Stream | |
instance | Personal | |
Résultat | Personal.AddressBook |
public static Serialize ( System.Stream stream, |
||
stream | System.Stream | |
instance | ||
Résultat | void |
public static SerializeLengthDelimited ( System.Stream stream, |
||
stream | System.Stream | |
instance | ||
Résultat | void |
public static SerializeToBytes ( |
||
instance | ||
Résultat | byte[] |