writing a byte string to file

Im trying to write out some bytes to a file

dim s as UInt8
s= &h43+&h36+&h34+&h46+&h69+&h6c+&h65+&h00+&h44+&h41+&h56+&h45+&h00+&h00+&h00+&h00

then out to a file like

Dim t as BinaryStream = BinaryStream.create(f)

't.Write ConvertEncoding(m_data, Encodings.UTF8)
t.Write m_data.ToText

I have tried many different permutations and failed, anyone know what I am doing wrong?

Why?

dim s as string
s= Chrb(&h43)+Chrb(&h36)+Chrb(&h34)+Chrb(&h46)+Chrb(&h69)+Chrb(&h6c)+Chrb(&h65)+Chrb(&h00)+Chrb(&h44)

Also:

[code]
Dim WriteFile as FolderItem = specialfolder.documents.child(“myfile.dat”)
Dim writeStream As BinaryStream = BinaryStream.Create(writeFile, True)

  writeStream.WriteUInt8 (&h43)
  writeStream.WriteUInt8 (&h36)
  writeStream.WriteUInt8 (&h34)
  writeStream.WriteUInt8 (&h46)

//etc
writeStream.Close[/code]