I'm using this project in an ASP.net core application.
To process data I should use some async Stream methods. In Stream.ReadAsync it will call Read method in a loop and expect 0 as return when nothing can read. When -1 returned, it will throw a ArgumentOutOfRangeException and block the processing of request. So I hope you can standardization the return value to make it matching C# Language Specification. Tkanks.