博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ByteBuffer 转 InputStream
阅读量:4691 次
发布时间:2019-06-09

本文共 203 字,大约阅读时间需要 1 分钟。

 
ByteBuffer fileBytes = (ByteBuffer) context.get("excel_file");
InputStream inputStream = new ByteArrayInputStream(fileBytes.array()); 

转载于:https://www.cnblogs.com/Ivan-j2ee/archive/2012/09/19/2693656.html

你可能感兴趣的文章