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) |
Initializes a new instance of the Block<THeader> class with zero-filled data of the specified length. |
Block(Header, Int32, Stream) |
Initializes a new instance of the Block<THeader> class by reading data from a stream. |
Block(Header, Int32, IEnumerable<Byte>) |
Initializes a new instance of the Block<THeader> class from a sequence of bytes. |
Block(Header, Byte[]) |
Initializes a new instance of the Block<THeader> class from a byte array. |