[英]BlockCopy C# to java - is there any way to do this
The BlockCopy which can be found under the System namespace in C# has following parameters: 可以在C#的System名称空间下找到的BlockCopy具有以下参数:
public static void BlockCopy(
Array src,
int srcOffset,
Array dst,
int dstOffset,
int count
)
Is there any implementation in java for this? java中是否有任何实现?
I have a Byte-array which contains a file, and I need this function i java. 我有一个包含文件的字节数组,我需要此功能java。 Thanks in advance! 提前致谢!
Have a look at System.arraycopy
. 看看System.arraycopy
。 (It takes the exact same arguments.) (它采用完全相同的参数。)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.