func_streams_copybytes.rst 543 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _func_streams_copybytes:
  2. =========
  3. CopyBytes
  4. =========
  5. CopyBytes -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. CopyBytes( fromStream:TStream,toStream:TStream,count,bufSize=4096 )
  10. Copy bytes from one stream to another
  11. #CopyBytes copies @count bytes from @fromStream to @toStream.
  12. A #TStreamReadException is thrown if not all bytes could be read, and a
  13. #TStreamWriteException is thrown if not all bytes could be written.
  14. Parameters
  15. ==========
  16. Return Values
  17. =============
  18. Nothing.
  19. Examples
  20. ========
  21. See Also
  22. ========