Udostępnij za pośrednictwem


SerializationExtensions Class

Definition

Provides a set of extension methods for serialization.

public ref class SerializationExtensions abstract sealed
public ref class SerializationExtensions abstract sealed
class SerializationExtensions abstract sealed
public static class SerializationExtensions
type SerializationExtensions = class
Public Module SerializationExtensions
Inheritance
SerializationExtensions

Methods

ReadDrawingSize(BinaryReader)

Reads a System.Drawing.Size struct from reader

ReadGuid(BinaryReader)

Reads a Guid struct from reader

ReadInt16Size(BinaryReader)

Reads a Int16Size struct from reader

ReadNullableBoolean(BinaryReader)

Reads a bool? from reader

ReadNullableChar(BinaryReader)

Reads a char? from reader

ReadNullableDouble(BinaryReader)

Reads a double? from reader

ReadNullableInt16(BinaryReader)

Reads a short? from reader

ReadNullableInt32(BinaryReader)

Reads a int? from reader

ReadNullableInt64(BinaryReader)

Reads a long? from reader

ReadNullableSingle(BinaryReader)

Reads a float? from reader

ReadNullableUInt16(BinaryReader)

Reads a ushort? from reader

ReadNullableUInt32(BinaryReader)

Reads a uint? from reader

ReadNullableUInt64(BinaryReader)

Reads a ulong? from reader

ReadUTF8String(BinaryReader)

Reads a string with UTF8 encoding that was written via WriteUTF8String method from a reader

ReadWindowsSize(BinaryReader)

Reads a System.Windows.Size struct from reader

Write(BinaryWriter, Guid)

Writes a Guid struct to writer

Write(BinaryWriter, Int16Size)

Writes a Int16Size struct to writer

Write(BinaryWriter, Nullable<Boolean>)

Writes a bool? to writer

Write(BinaryWriter, Nullable<Char>)

Writes a char? to writer

Write(BinaryWriter, Nullable<Double>)

Writes a double? to writer

Write(BinaryWriter, Nullable<Int16>)

Writes a short? to writer

Write(BinaryWriter, Nullable<Int32>)

Writes a int? to writer

Write(BinaryWriter, Nullable<Int64>)

Writes a long? to writer

Write(BinaryWriter, Nullable<Single>)

Writes a float? to writer

Write(BinaryWriter, Nullable<UInt16>)

Writes a ushort? to writer

Write(BinaryWriter, Nullable<UInt32>)

Writes a uint? to writer

Write(BinaryWriter, Nullable<UInt64>)

Writes a ulong? to writer

Write(BinaryWriter, Size)

Writes a System.Drawing.Size struct to writer

Write(BinaryWriter, Size)

Writes a System.Windows.Size struct to writer

WriteUTF8String(BinaryWriter, String)

Writes a string with UTF8 encoding and prefixed with length.

Applies to