BinaryStream.WriteByte Deprecated?? What do I use

Hi I have a Module I found to create Excel Spread Sheets called ExcelWriter.

It uses the WriteByte in a function like this:

Sub WriteBiff(value as MemoryBlock)
  dim i as integer
  
  for i=0 to value.Size-1
    bstream.WriteInt16(value.Byte(i))
    'bstream.WriteByte(value.Byte(i))   Depricated
  next
  
  return

Which WriteInt do I use???

Thanks

WriteUInt8.

Thank You!