VB.NET-INFORMATIONS.COM



VB.NET Files Tutorials

How to VB.NET BinaryReader

How to VB.NET BinaryReader

BinaryReader Object works at lower level of Streams. BinaryReader is used for read premitive types as binary values in a specific encoding stream. Binaryreader Object works with Stream Objects that provide access to the underlying bytes. For creating a BinaryReader Object , you have to first create a FileStream Object and then pass BinaryReader to the constructor method .

Dim readStream As FileStream

readStream = New FileStream("c:\testBinary.dat", FileMode.Open)

Dim readBinary As New BinaryReader(readStream)

The main advantages of Binary information is that stores files as Binary format is the best practice of space utilization.

VB.NET Source Code


BinaryWriter you can use in the same way to write as binary.

VB.NET Files Related Contents
How to VB.NET Directory operations
How to VB.NET File operations
How to VB.NET FileStream
How to VB.NET TextReader
How to VB.NET Simple TextReader
How to VB.NET TextWriter
How to VB.NET BinaryWriter

VB.NET Related Tpoics
Microsoft .Net Framework Tutorials
VB.NET Language Basics Tutorials
VB.NET Program Flow Control Tutorials
VB.NET Collections Tutorials
VB.NET String Tutorials
VB.NET Files Tutorials
VB.NET Excel 2007 Tutorials
VB.NET Crystal Reports Tutorials
VB.NET Communications Tutorial
VB.NET ADO.NET Tutorial with source code
ADO.NET Data Providers help and Tutorial
VB.NET ADO.NET Dataset Tutorial
ADO.NET DataAdapter and Dataset
VB.NET ADO.NET DataView Tutorial

Search here for more Vb.Net Source Code :


   Categories

    HOME
    VB.NET

 
 
 
   













  |  Home   |  SiteMap   |  About   |
net-informations.com (C) 2008 All Rights Reserved