+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
*
*******************************************************************************
* file name: nptrans.h
- * encoding: US-ASCII
+ * encoding: UTF-8
* tab size: 8 (not used)
* indentation:4
*
}
// check if there is enough room in the output
if(bufLen < destCapacity){
- uprv_memcpy(dest,buffer,bufLen*U_SIZEOF_UCHAR);
+ u_memcpy(dest, buffer, bufLen);
}
return u_terminateUChars(dest, destCapacity, bufLen, &status);
}
if(b1Len <= destCapacity){
- uprv_memmove(dest,b1, b1Len*U_SIZEOF_UCHAR);
+ u_memmove(dest, b1, b1Len);
}
CLEANUP: