BetterStreams 1.0

BetterStreams 1.0




.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.

AlternateStreams enables you to read, write, delete, create and list alternate data streams (ADS) in an NTFS file. Under NTFS, each file has a "main" unnamed stream (this is the one the Framework's file I/O classes manipulate) as well as zero or more "alternate" named streams; for example, Internet Explorer uses an alternate stream named "Zone.Identifier" to record which security zone a downloaded file came from. Aside from conveniently storing metadata, they can also be used to create "compound storage" for application data; instead of, for example, sequentially serializing ten objects to the "main" fie stream (requiring the entire file to be rewritten if any but the last object changes) each object can be serialized to its own, individually modifiable alternate stream.




Popular Downloads
Java Barcode Reader 2.0 -  Java Barcode Reader is a Java library which recognise and read barcode images. It Supports up to 20 1D and 2D Barcode Symbologies. ... (1964/0) download
FTP Client PowerBASIC 2.3 -  FTP Client Engine for PowerBASIC FTP Client Engine for PowerBASIC (FCE4PB).(FCE4PB23.ZIP). 01/03/2003. Ver 2.2. ... (1889/0) download
WiFi-Manager 5.7 -  WiFi-Manager is a developer tool that allows you to manage wireless networks and settings in Windows XP SP2/SP3 and Vista using one set of API functions. ... (1118/0) download
Java Barcode 2.0 -  Java Barcode is a Java library which generates barcode images for Java Applications. It supports Linear (1D), PDF417, Data Matrix, MaxiCode, QACode ... (1041/0) download
JOpt.NET - TourSolver 1.0.8 -  JOpt.NET TourSolver is an automated transport optimisation .NET component for logistic applications written in C#,J#,C++.NET or VB.NET. JOpt.NET solves TSP,CVRP and VRPTW class problems. JOpt. ... (867/0) download
conaito VoIP SDK ActiveX 5.2 -  conaito VoIP SDK ActiveX for developers of VoIP audio applications and webpages, such as voice chat, conference, VoIP, providing real-time low latency multi-client audio streaming over UDP/IP networks. Includes efficient components for sound ... (850/0) download
ddoc Print and Preview v1.6a -  ddoc Print and Preview is a print and preview API (application program interface). ddoc Print and Preview can be called from any 16- or 32-bit program. This 32-bit print engine creates professional output. ... (839/0) download
Console Tools v2.22 -  Console Tools is a package of add-on functions specifically designed to enhance the PowerBASIC Console Compiler (PB/CC) and other compilers that can produce Win32 console applications. Console Tools contains dozens of console-related functions. ... (754/0) download
IBM ViaVoice SDK 1.0 -  Add speech recognition support to apps. IBM ViaVoice SDK helps developers include speech recognition in their applications by developing both dictation and command &amp\; control applications. ... (721/0) download
UPLCompress Library 1.1 -  UPL Compression Activex COM OLE and static library. The UPL Compression Library is a high-performance professional compression library. ... (654/0) download