Refactor AsyncPipeWriterOutput for stream compatibility
- Reduce test chunk size to 256 bytes and update test names/comments
- Add sender-side diagnostic logging and unify with receiver logs
- Detect StreamPipeWriter at runtime and enforce sequential flush/acquire for streams
- Retain parallelism for pipe-based writers (Kestrel/SignalR)
- Add DEBUG-only diagnostics at key chunking points
- Minor code style cleanups and doc clarifications
- Add Bash command to fetch StreamPipeWriter.cs for reference
High-performance serialization framework supporting three formats — Binary, JSON, and Toon — built on a shared infrastructure.
Folder Structure
Folder
Purpose
Binaries/
High-performance binary serialization with two-phase scan+serialize
Jsons/
Custom JSON serialization using Utf8JsonWriter/Utf8JsonReader
Toons/
LLM-optimized Token-Oriented Object Notation with @meta/@data sections
Expressions/
Expression tree serialization (LINQ Expression ↔ DTO)
Attributes/
Source generator marker attributes
Shared Infrastructure (Root Files)
Core Base Classes
AcSerializerContextBase.cs — Generic base context AcSerializerContextBase<TMetadata, TOptions> with metadata caching, wrapper slot management, and context pooling. All three serializers derive from this.
AcSerializerOptions.cs — Base options: reference handling mode, max depth, custom property mapping, ThrowOnCircularReference.