Class RadArchiveStream
Encapsulates information for a single stream within a zipped stream.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Serialization
Assembly: Telerik.WinControls.dll
Syntax
public abstract class RadArchiveStream
Constructors
RadArchiveStream()
Declaration
public RadArchiveStream()
RadArchiveStream(Object)
Declaration
public RadArchiveStream(object context)
Parameters
System.Object
context
|
Properties
ByteCount
Gets the count of the raw bytes that form the stream.
Declaration
public int ByteCount { get; }
Property Value
System.Int32
|
Context
Gets or sets the context associated with the archive.
Declaration
public object Context { get; set; }
Property Value
System.Object
|
Format
Gets the information about the format of the underlying stream.
Declaration
public abstract StreamFormat Format { get; }
Property Value
StreamFormat
|
Name
Gets or sets the name of this archive.
Declaration
public string Name { get; set; }
Property Value
System.String
|
RawBytes
Gets the raw bytes of the underlying stream.
Declaration
public byte[] RawBytes { get; }
Property Value
System.Byte[]
|
ZippedBytes
Gets or sets the already zipped raw bytes of the underlying stream.
Declaration
public byte[] ZippedBytes { get; set; }
Property Value
System.Byte[]
|
Methods
Deserialize(Byte[])
Declaration
protected virtual object Deserialize(byte[] rawBytes)
Parameters
System.Byte[]
rawBytes
|
Returns
System.Object
|
GetRawBytes()
Declaration
protected virtual byte[] GetRawBytes()
Returns
System.Byte[]
|
GetZippedBytesCore()
Declaration
protected virtual byte[] GetZippedBytesCore()
Returns
System.Byte[]
|
ShouldSerializeName()
Declaration
public bool ShouldSerializeName()
Returns
System.Boolean
|
ShouldSerializeZippedBytes()
Declaration
public bool ShouldSerializeZippedBytes()
Returns
System.Boolean
|
Unzip()
Declaration
public object Unzip()
Returns
System.Object
|
Unzip(Byte[])
Declaration
protected virtual byte[] Unzip(byte[] zippedBytes)
Parameters
System.Byte[]
zippedBytes
|
Returns
System.Byte[]
|
Zip()
Declaration
public void Zip()