The Decoder type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
ReadBool(BinaryReader)
Reads a boolean value from the binary reader.
ReadByte(BinaryReader)
Reads a byte value from the binary reader.
ReadChar(BinaryReader)
Reads a char value from the binary reader.
ReadCount(BinaryReader)
Reads a collection count value from the binary reader.
ReadDateTime(BinaryReader)
Reads a date time value from the binary reader.
ReadDateTimeOffset(BinaryReader)
Reads a date time offset value from the binary reader.
ReadDecimal(BinaryReader)
Reads a decimal value from the binary reader.
ReadDouble(BinaryReader)
Reads a double value from the binary reader.
ReadFloat(BinaryReader)
Reads a float value from the binary reader.
ReadGuid(BinaryReader)
Reads a guid value from the binary reader.
ReadInt(BinaryReader)
Reads a int value from the binary reader.
ReadLong(BinaryReader)
Reads a long value from the binary reader.
ReadSByte(BinaryReader)
Reads a signed byte value from the binary reader.
ReadShort(BinaryReader)
Reads a short value from the binary reader.
ReadString(BinaryReader)
Reads a string value from the binary reader.
ReadString(BinaryReader, Boolean)
Reads a string value from the binary reader.
ReadTag(BinaryReader)
Reads a tag value from the binary reader.
ReadTimeSpan(BinaryReader)
Reads a time span value from the binary reader.
ReadType(BinaryReader)
Reads a type value from the binary reader.
ReadUInt(BinaryReader)
Reads a unsigned int value from the binary reader.
ReadULong(BinaryReader)
Reads a unsigned long value from the binary reader.
ReadUri(BinaryReader)
Reads a uri value from the binary reader.
ReadUShort(BinaryReader)
Reads a unsigned short value from the binary reader.
Register(Int32, Type, Deserialize)
Register a custom deserializer by the type and type code specified.
Register(Int32, Type, Serialize, Deserialize)
Register a custom serializer/deserializer by the type and type code specified.

See Also