|
EDais :: Tutorials :: Streaming in VB Written by Mike D Sutton - 05.02.2006 - Introduction: If you have ever developed support for an external file format or otherwise had to read in data from a file, you may also have come across the case where you have to parse the file contents from a memory buffer instead. In this case either a new routine needs to be written to read the file contents from a memory block or the entire thing is written down to disk and the original file load method can be invoked. The method we’re going to use to accomplish this is to create a number of different data streams which cope with each of the different data sources, however they will all communicate through a common interface. You’ll find streams used in many other development languages so you may have already come across the concept before. Chapter index: |