fastcopy.h 719 B

12345678910111213141516171819
  1. /*********************************************************************
  2. Blosc - Blocked Shuffling and Compression Library
  3. Author: Francesc Alted <francesc@blosc.org>
  4. Creation date: 2018-01-03
  5. See LICENSES/BLOSC.txt for details about copyright and rights to use.
  6. **********************************************************************/
  7. #ifndef BLOSC_FASTCOPY_H
  8. #define BLOSC_FASTCOPY_H
  9. /* Same semantics than memcpy() */
  10. unsigned char *fastcopy(unsigned char *out, const unsigned char *from, unsigned len);
  11. /* Same as fastcopy() but without overwriting origin or destination when they overlap */
  12. unsigned char* safecopy(unsigned char *out, const unsigned char *from, unsigned len);
  13. #endif //BLOSC_FASTCOPY_H