.Net 庫由三個類組成,用於簡化非同步 I/O(非同步流),使用備用數據流(備用流)和高效的流窺視和尋尋(更好的緩衝流)。 BetterStream 可以輕鬆地提高新應用程式或現有應用程式的性能,有時非常顯著,只要對代碼進行單行更改。 AsyncStream 包裝現有流,通過標準讀取()、讀取位元組()、寫入()和寫入位元組()方法提供異步I/O;如果直接調用包裝的流,這些將需要等待 I/O 到基礎設備(如磁碟),但 AsyncStream 非同步和自動填充或刷新其內部緩衝區從或刷新到包裝的流使用後台線程,並且永遠不會阻止,只要有足夠的位元組在緩衝區中可用。 即使應用程式邏輯已經圍繞同步 I/O 構建,使其非同步通常只需要在 AsyncStream 中包裝原始流。 AsyncStream 還提供優雅的異常處理、根據需要微調性能和行為的屬性,以及像 BetterBufferedStream 一樣,高效尋求。 備用流使您能夠在 NTFS 檔讀取、寫入、刪除、創建和列出備用資料流 (ADS)。 在 NTFS 下,每個檔都有一個 「正向」未命名流(這是框架的檔 I/O 類操作的流),以及零個或多個 "替代" 命名流;例如,Internet Explorer 使用名為 「區域.Identifier"」 的備用流來記錄下載檔來自哪個安全區域。 除了方便地存儲元數據外,它們還可用於創建應用程序數據的「複合存儲」;例如,可以按順序將十個物件序列化為 "main" fie 流(如果最後一個物件更改,要求重寫整個檔),每個物件都可以序列化為自己的、可單獨修改的備用流。
版本歷史記錄
- 版本 1.0 發佈於 2007-05-27
軟體細節
- 軟體分類: 發展 > 元件和庫
- 發佈者: Jeff Pasternack
- 軟體性質: 免費試用
- 價格: $59.00
- 版本: 1.0
- 作業系統: windows
終端使用者許可協定
BetterStreams Academic/Evaluation License Agreement This license agreement ("License") is a legal agreement between you (or your company, if you are authorized to act on its behalf and bind it to this agreeement) as the "Licensee" and Jeff Pasternack ("Licensor") for the BetterStreams library ("BetterStreams"), including all accompanying software, source code, documentation, other accompanying media, and any future or updated versions of these provided by Licensor. 0. Preamble This Academic/Evaluation license is free, and significantly more restrictive than the Developer license sold by the Licensor. It prohibits distribution of both the BetterStreams.dll library and any software (compiled or as source) linking to or otherwise using it, and permits use of BetterStreams to develop only applications that will be used solely by their original author for non-profit academic research or evaluation purposes. For non-Academics (Academics are defined as students and faculty of accredited colleges and universities) this License expires 30 days after you agree to it, at which time you must either purchase a Developer license or destroy all copies of the software. 1. Grant of License Licensor grants the Licensee a non-transferable, non-exclusive license to BetterStreams to: a) Install BetterStreams on a single computer for use by a single person. b) Create one copy for backup purposes c) Use BetterStreams to develop applications used solely by you for non-profit academic research or to evaluate BetterStreams pursuant to deciding whether or not you would like to purchase a Developer license. 2. Limitations and Restrictions on License a) Licensee may not use BetterStreams to develop libraries, components, tools or software of any kind that provides, in whole or in part, similar functionality to BetterStreams. b) Other than as explicitly permitted above in the Grant of License, Licensee may not in any way reproduce, copy, distribute or share BetterStreams in whole or in part. c) Licensee may not use BetterStreams for any purpose prohibited by law. d) Licensee may not distribute BetterStreams or any part thereof, nor may the Licensee distribute any software that links to or otherwise uses BetterStreams. e) Licensee may not allow others to use BetterStreams or any applications developed with BetterStreams f) Licensee may not use BetterStreams to develop applications that are not for non-profit, academic research or evaluation of BetterStreams. g) If the Licensee is not a student or faculty member at an accredited college or university, this license automatically terminates after 30 days at which time all copies of BetterStreams components (including, but not limited to, BetterStreams.dll, documentation, source code, and other media) must be destroyed. 3. You assert and agree that you have not previously been granted a license of any kind to use BetterStreams. 4. Intellectual Property Rights All intellectual property rights to BetterStreams and any accompanying media are kept and owned by Licensor. BetterStreams is protected by United States copyright law and international treaties. The Licensee may distribute BetterStreams.dll only when done in pursuance of a binding license agreement that is, at minimum, as protective of the Licensor and BetterStreams as this License. The Licensee must make reasonable efforts to prevent violations of such agreements as they concern Licensor and BetterStreams. 5. Support Licensor is not obligated to provide support or other assistance for BetterStreams in any form. 6. No Reverse-Engineering You may not disassemble, reverse-engineer, decompile, or otherwise attempt to obtain information regarding BetterStreams internals, methods or construction. 7. Disclaimer of Warranty THERE IS NO WARRANTY FOR BETTERSTREAMS, TO THE EXTENT PERMITTED BY APPLICABLE LAW. BETTERSTREAMS IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF BETTERSTREAMS IS WITH YOU, THE LICENSEE. SHOULD BETTERSTREAMS PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, CORRECTION, AND DAMAGES OF ANY KIND THAT OCCUR AS A RESULT, INCLUDING BUT NOT LIMITED TO LOSS OF REVENUE OR POTENTIAL REVENUE AND LOSS OF DATA. NO STATEMENT OR CLAIM, WRITTEN OR OTHERWISE, FROM THE LICENSOR OR HIS AGENTS SHALL CREATE A WARRANTY OF ANY KIND. 8. Limitation of Liability IN NO EVENT OR CIRCUMSTANCE WILL LICENSOR BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE BETTERSTREAMS (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF BETTERSTREAMS TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT SHALL LICENSORS TOTAL LIABILITY FROM OR RELATING TO BETTERSTREAMS OR THIS LICENSE EXCEED THE AMOUNT PAID BY THE LICENSEE FOR THIS LICENSE, EXCEPT WHERE SUCH LIMITATION OR EXCLUSION IS PROHIBITED BY LAW. 9. Termination Without limitation to other rights of Licensor, this License to use BetterStreams is automatically terminated and revoked if you fail to completely abide by the terms and conditions of this License. If this should occur you must destroy all copies of BetterStreams and its components, including (but not limited to) backups, source code, documentation, software and other associated media. 10. Governing Law This License shall be governed by the laws of California as applicable to contracts made in California between residents of California. This License supercedes and is exclusive to any other agreements or statements, written or otherwise, between Licensee and Licensor. 11. General In the event that any provision of this License is determined to be invalid, void, or unenforcable, such provision shall be removed from this License without effect or impairment of any other remaining provisions of this License. 12. Amendments This License may be modified only when done in writing and signed by both Licensee and Licensor.