MCBBS Wiki欢迎您共同参与编辑!在参与编辑之前请先阅读Wiki方针

如果在编辑的过程中遇到了什么问题,可以去讨论板提问。

为了您能够无阻碍地参与编辑 未验证/绑定过邮箱的用户,请尽快绑定/验证

MCBBS Wiki GitHub群组已上线!

您可以在回声洞中发表吐槽!

服务器状态监控。点击进入

本站由MCBBS用户自行搭建,与MCBBS及东银河系漫游指南(北京)科技有限公司没有从属关系。点此了解 MCBBS Wiki 不是什么>>

用户:洞穴夜莺/EInputStream:修订间差异

跳到导航 跳到搜索
无编辑摘要
无编辑摘要
无编辑摘要
第19行: 第19行:


     @Override
     @Override
     public int read(){
     public int read() {
         return 'e';
         return 'e';
     }
     }


     @Override
     @Override
     public int read(byte[] b) throws IOException {
     public int read(byte[] b) {
         for(int i = 0; i < b.length; i++)
         for(int i = 0; i < b.length; i++)
             b[i] = (byte)'e';
             b[i] = (byte)'e';
第31行: 第31行:


     @Override
     @Override
     public byte[] readAllBytes() throws IOException {
     public byte[] readAllBytes() {
         throw new OutOfMemoryError("Endless");
         throw new OutOfMemoryError("Endless");
     }
     }


     @Override
     @Override
     public int read(byte[] b, int off, int len) throws IOException {
     public int read(byte[] b, int off, int len) {
         for(int i = off; i < len + off; i++)
         for(int i = off; i < len + off; i++)
             b[i] = (byte)'e';
             b[i] = (byte)'e';
第43行: 第43行:


     @Override
     @Override
     public byte[] readNBytes(int len) throws IOException {
     public byte[] readNBytes(int len) {
         byte[] rval = new byte[len];
         byte[] rval = new byte[len];
         read(rval);
         read(rval);
第50行: 第50行:


     @Override
     @Override
     public int readNBytes(byte[] b, int off, int len) throws IOException {
     public int readNBytes(byte[] b, int off, int len) {
         return read(b, off, len);
         return read(b, off, len);
     }
     }


     @Override
     @Override
     public long skip(long n) throws IOException {
     public long skip(long n) {
         return n;
         return n;
     }
     }
833

个编辑

我们提供服务需要使用Cookie。您使用我们的服务,即表示您同意我们使用Cookie。

导航菜单