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
andDataStream.ReadFormat<T>()
- Obsolete
IInitializer<T>
. Use the constructor instead. DataStream
does NOT throwEndOfStreamException
…
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
andDataStream.ReadFormat<T>()
- Obsolete
IInitializer<T>
. Use the constructor instead. DataStream
does NOT throwEndOfStreamException
when reading bytes.ReadByte
returns-1
when it reaches the end instead of throwing an exception.DataReader
keeps the behavior and it will throwEndOfStreamException
when reading any data type.
- Move
DataStream.Length
setter to its own methodSetLength(long)
. - Rename
TextReader
andTextWriter
toTextDataReader
andTextDataWriter
. - Removed
IStream
interface in favor ofStream
. TextDataReader
will not returnnull
string if it starts reading from the end already. It will throwEndOfStreamException
.DataStream.Seek
now requires a negative argument to go back positions whenorigin
isSeekOrigin.End
.
This milestone is closed.
No open issues remain. View closed issues or see open milestones in this repository.