[size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Property[/color][/size][size=2] Test() [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]Integer[/color][/size]
[size=2][color=#0000ff]Get[/color][/size]
[color=#0000ff]..... something here to retrieve the value[/color]
[size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Get[/color][/size]
[size=2][color=#0000ff]Set[/color][/size][size=2]([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] Value [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]Integer[/color][/size][size=2])[/size]
..... Something here to set the value received
[size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Set[/color][/size]
[size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Property[/color][/size]
Dim fs As New System.IO.FileStream("c:\test.txt", IO.FileMode.Open)
Dim b As Byte
b = fs.ReadByte() to read a single byte
Dim data() As Byte
fs.Read(data, 0, 100) read 100 bytes.
fs.Write(data, 0, 100) write an array of 100 bytes
fs.WriteByte(1) write a single byte
Everything is binary.dcahrakos said:well really its not binary im looking for its always Hex....