This class is used by ASP.NET to implement Limited Object
Serialization (LOS) for view state. It converts the data stored in
every control's StateBag into a
lightly encrypted, condensed ASCII field that is added to the page as
a hidden input control. While you can store complex information in
the StateBag, the LosFormatter
is optimized for strings, arrays, hashtables, and other primitive
.NET types defined in the System namespace. This
class provides functionality through the methods Serialize(
) and Deserialize( ).
public sealed class LosFormatter {
// Public Constructors
public LosFormatter( );
public LosFormatter(bool enableMac, string macKeyModifier);
// Public Instance Methods
public object Deserialize(System.IO.Stream stream);
public object Deserialize(string input);
public object Deserialize(System.IO.TextReader input);
public void Serialize(System.IO.Stream stream, object value);
public void Serialize(System.IO.TextWriter output, object value);
}