Interface IByteFramer
Converts a byte stream into discrete frames based on specific delimiters or structures.
Namespace: Glitch9.IO.Networking.RESTApi
Assembly: Glitch9.IO.dll
Syntax
public interface IByteFramer
Methods
| Edit this page View SourceFeed(ReadOnlyMemory<byte>)
Declaration
IEnumerable<ReadOnlyMemory<byte>> Feed(ReadOnlyMemory<byte> chunk)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlyMemory<byte> | chunk |
Returns
| Type | Description |
|---|---|
| IEnumerable<ReadOnlyMemory<byte>> |