j = theFile.Length n = j - 1 mb = New MemoryBlock(j) For i = 0 to n mb.Byte(i) = b.ReadByte Next i === A Mac addict in Tennessee === _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
Is there a way to read a BinaryStream into a MemoryBlock other than
byte by byte as in the following? This is the only method of doing so
that I could get to work. Sure seems like there should be some way to
use the Read(x) method to read the entire file in at once but if
there is, how to do it has eluded me so far.
- BinaryStream to MemoryBlock Harrie Westphal
- Re: BinaryStream to MemoryBlock Brian Kelly
- Re: BinaryStream to MemoryBlock Phil M
- Re: BinaryStream to MemoryBlock Harrie Westphal
- Re: BinaryStream to MemoryBlock Daniel Chiaramello
- Re: BinaryStream to MemoryBlock Joseph J. Strout
- Re: BinaryStream to MemoryBlock Phil M
- Re: BinaryStream to MemoryBlo... Harrie Westphal
- Re: BinaryStream to Memor... Asher Dunn
