BetterStreams

Easy asynchronous I/O, alternate data streams, and efficient stream seeking
Download

BetterStreams Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Free to try
  • Price:
  • $59.00
  • Publisher Name:
  • Jeff Pasternack
  • Publisher web site:
  • Operating Systems:
  • Windows
  • File Size:
  • link when available

BetterStreams Tags


BetterStreams Description

The BetterStreams Library was designed to be a collection of three classes that aid in manipulating streams. AsyncStream and BetterBufferedStream wrap existing streams to provide Improve I/O performance. AsyncStream enables easy, fast asynchronous I/O, while BetterBufferedStream is Similar to System.IO.BufferedStream but with more efficient seeks. Finally, the Static AlternateStreams class adds the ability to manipulate NTFS Alternate Data Streams (ADS). .Net library consisting of three classes for simplified asynchronous I/O (AsyncStream), using alternate data streams (AlternateStreams), and efficient stream peeking and seeking (BetterBufferedStream). BetterStreams can easily improve the performance of new or existing applications, sometimes dramatically, with as little as a single-line change to the code. AsyncStream wraps an existing stream and provides asynchronous I/O via the standard Read(), ReadByte(), Write(), and WriteByte() methods; if called on the wrapped stream directly these would require waiting for I/O to the underlying device (such as a disk) but the AsyncStream asynchronously and automatically fills or flushes its internal buffer from or to the wrapped stream using a background thread and will never block so long as sufficient bytes are available in the buffer. Even if your application logic is already built around synchronous I/O, making it asynchronous typically requires nothing more than wrapping the original stream in an AsyncStream. AsyncStreams also provide elegant exception handling, properties for fine-tuning performance and behavior when desired, and, like BetterBufferedStreams, efficient seeking.


BetterStreams Related Software