namespace SharpCompress.Compressors.PPMd.H
{
internal abstract class Pointer
{
/// Initialize the object with the array (may be null)
/// the byte array
///
internal Pointer(byte[] mem)
{
Memory = mem;
}
internal byte[] Memory { get; private set; }
internal virtual int Address { get; set; }
protected T Initialize(byte[] mem)
where T : Pointer
{
Memory = mem;
Address = 0;
return this as T;
}
}
}