OutputStream类里面一共提供了三种输出方法:
·输出单个字节:
public abstract void write(int b)throws IOEException;
·输出全部字节数组:
public void write(byte[]b)throws IOException;
·★输出部分字节数组:
public voidwrite(byte[]b,int off,int len)throws IOException
OutputStream类里面一共提供了三种输出方法:
·输出单个字节:
public abstract void write(int b)throws IOEException;
·输出全部字节数组:
public void write(byte[]b)throws IOException;
·★输出部分字节数组:
public voidwrite(byte[]b,int off,int len)throws IOException
课程内容版权均归魔乐科技MLDN所有 京ICP备09081638号-6
Powered by EduSoho v24.1.2 ©2014-2025