Block<THeader> Class
Definition
Base class for a block with a strongly-typed header and an empty trailer.
public abstract class Block<THeader> : Block<THeader, EmptyTrailer>
where THeader : Header
Type Parameters
| Name | Description |
|---|---|
| THeader | The type of header for this block. |
Constructors
| Name | Description |
|---|---|
| Block(Header, Int32) | Initialises a new instance of the Block<THeader> class with zero-filled data of the specified length. |
| Block(Header, Int32, Stream) | Initialises a new instance of the Block<THeader> class by reading data from a stream. |
| Block(Header, Int32, IEnumerable<Byte>) | Initialises a new instance of the Block<THeader> class from a sequence of bytes. |
| Block(Header, Byte[]) | Initialises a new instance of the Block<THeader> class from a byte array. |