Skip to content

v4.0

Closed Jan 31, 2024 100% complete

Improvement in the namespace Yarhl.IO with support of Stream and performance improvements!

Breaking changes

  • Drop support of .NET Framework
  • Rename library Yarhl.Media to Yarhl.Media.Text
  • **Remove APIs ConvertTo, TransformTo and DataStream.ReadFormat<T>()
  • Obsolete IInitializer<T>. Use the constructor instead.
  • DataStream does NOT throw EndOfStreamException

Improvement in the namespace Yarhl.IO with support of Stream and performance improvements!

Breaking changes

  • Drop support of .NET Framework
  • Rename library Yarhl.Media to Yarhl.Media.Text
  • **Remove APIs ConvertTo, TransformTo and DataStream.ReadFormat<T>()
  • Obsolete IInitializer<T>. Use the constructor instead.
  • DataStream does NOT throw EndOfStreamException when reading bytes.
    • ReadByte returns -1 when it reaches the end instead of throwing an exception.
    • DataReader keeps the behavior and it will throw EndOfStreamException when reading any data type.
  • Move DataStream.Length setter to its own method SetLength(long).
  • Rename TextReader and TextWriter to TextDataReader and TextDataWriter.
  • Removed IStream interface in favor of Stream.
  • TextDataReader will not return null string if it starts reading from the end already. It will throw EndOfStreamException.
  • DataStream.Seek now requires a negative argument to go back positions when origin is SeekOrigin.End.

This milestone is closed.

No open issues remain. View closed issues or see open milestones in this repository.