阅读背景:

从现有字节[]生成新的字节[]

来源:互联网 

I would like to generate a "new" byte array from an existing one, without having to actually allocate from the heap. In other words, the "new" byte array should share the same underlying data as the existing one. The catch is that I would like the new byte array to have a different length.I would like to generate a "new" byte array fro




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

分享到: