阅读背景:

有没有办法在byte []和Stream之间转换而不复制?

来源:互联网 

I need to convert a byte[] array into a stream (e.g. for uploading a file), then in another part of my code, convert a stream back into an array (e.g. for downloading a file). Is there a way to do these operations without making a copy of the byte arrays?I need to convert a byte[] array into a stream




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: