[英]Create a arraylist of bytes by a inputstream
我想从文件获取inputStream源,并将其作为Byte放在ArrayList 。
inputStream
Byte
ArrayList
但是我没有发现任何事情。
有人能帮我吗?
如何使用Files#readAllBytes :
Files#readAllBytes
byte[] bytes = Files.readAllBytes(path);
如果确实需要,可以通过简单的loop转换为List<Byte> 。
List<Byte>
[英]create an ArrayList of bytes
[英]Add bytes to InputStream
[英]Chronicle Bytes from InputStream
[英]InputStream skip bytes
[英]Iterator of Strings to Inputstream of bytes
[英]InputStream skips bytes
[英]Decoding bytes from InputStream
[英]Reading the InputStream bytes
[英]Reading InputStream to Arraylist
[英]Android retrieve bytes from inputstream
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.