Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个byte[]包含没有 zip 文件头的压缩数据。我想知道如何从byte[].
byte[]
您可以使用ZipInputStreamwhich 接受一个InputStream. AByteArrayInputStream可以由 a 构造byte []。
ZipInputStream
InputStream
ByteArrayInputStream
byte []