ByteArrayInputStream提供了以下兩個構(gòu)造方法: ByteArrayInputStream(byte[] buf) 參數(shù):buf為字節(jié)數(shù)組,作為輸入源。 作用:創(chuàng)建一個ByteArrayInputStream對象,使用buf作為其緩沖區(qū)數(shù)組。 ByteArrayInputStream(byte[] buf, int offset, int length) 參數(shù):buf為字節(jié)數(shù)組,offset為緩沖區(qū)數(shù)組的初始位置,length為從初始位置...
www.dbjr.com.cn/program/328014l...htm 2025-6-8