-
Notifications
You must be signed in to change notification settings - Fork 8
Sequence input stream
zmjack edited this page Jun 12, 2023
·
1 revision
SequenceInputStream can combine multiple streams into a single stream.
Example
using var stream = new SequenceInputStream(
new MemoryStream("123".Bytes(Encoding.UTF8)),
new MemoryStream("456".Bytes(Encoding.UTF8)),
new MemoryStream("789".Bytes(Encoding.UTF8))
);
using var reader = new StreamReader(stream);
var result = reader.ReadToEnd(); // 123456789
![]() |
![]() |
||
---|---|---|---|
English | 中文 |
- Array initialization
- Array mapping
- Array reallocation
- Chain loop
- Compose / Pipeline
- Date & Time
- Flat elements
- Index-Value Pairs
- Traverse by depth
- Zip sequences
- [Come soon] Counter
- DP container
- Evaluator
- Fixed size queue
- Scope
- Sequence input stream
- Sliding
- State
- Value with unit
- Variant string