Gets the memory for a given item.
- Namespace
- Statiq
.Common - Containing Type
- ItemStream
<TItem>
Syntax
protected abstract ReadOnlySpan<byte> GetItemBytes(TItem item)
Parameters
Name | Type | Description |
---|---|---|
item | TItem | The item to get memory for (can be default /null ). |
Return Value
Type | Description |
---|---|
ReadOnlySpan |
Memory that represents the item. |