importjava.io.ByteArrayInputStream; importjava.io.IOException; publicclassByteArrayInputStreamExample { publicstaticvoidmain(String[] args) { byte[] buf = {65,66,67,68,69};// 字節(jié)數(shù)組 ByteArrayInputStream bais =newByteArrayInputStream(buf); intdata; while((data = bais.read()) != -1) ...
www.dbjr.com.cn/program/328014l...htm 2025-6-8