SerializationExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
ReadGuid(BinaryReader) |
Reads a Guid struct from |
ReadInt16Size(BinaryReader) |
Reads a Int16Size struct from |
ReadNullableBoolean(BinaryReader) |
Reads a bool? from |
ReadNullableChar(BinaryReader) |
Reads a char? from |
ReadNullableDouble(BinaryReader) |
Reads a double? from |
ReadNullableInt16(BinaryReader) |
Reads a short? from |
ReadNullableInt32(BinaryReader) |
Reads a int? from |
ReadNullableInt64(BinaryReader) |
Reads a long? from |
ReadNullableSingle(BinaryReader) |
Reads a float? from |
ReadNullableUInt16(BinaryReader) |
Reads a ushort? from |
ReadNullableUInt32(BinaryReader) |
Reads a uint? from |
ReadNullableUInt64(BinaryReader) |
Reads a ulong? from |
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 |
Write(BinaryWriter, Guid) |
Writes a Guid struct to |
Write(BinaryWriter, Int16Size) |
Writes a Int16Size struct to |
Write(BinaryWriter, Nullable<Boolean>) |
Writes a bool? to |
Write(BinaryWriter, Nullable<Char>) |
Writes a char? to |
Write(BinaryWriter, Nullable<Double>) |
Writes a double? to |
Write(BinaryWriter, Nullable<Int16>) |
Writes a short? to |
Write(BinaryWriter, Nullable<Int32>) |
Writes a int? to |
Write(BinaryWriter, Nullable<Int64>) |
Writes a long? to |
Write(BinaryWriter, Nullable<Single>) |
Writes a float? to |
Write(BinaryWriter, Nullable<UInt16>) |
Writes a ushort? to |
Write(BinaryWriter, Nullable<UInt32>) |
Writes a uint? to |
Write(BinaryWriter, Nullable<UInt64>) |
Writes a ulong? to |
Write(BinaryWriter, Size) |
Writes a System.Drawing.Size struct to |
Write(BinaryWriter, Size) |
Writes a System.Windows.Size struct to |
WriteUTF8String(BinaryWriter, String) |
Writes a string with UTF8 encoding and prefixed with length. |