.NET Stream stuff that I've found useful in the past, refactored into general-purpose libraries.