1 29 package org.jruby.util; 30 31 import java.io.DataInput ; 32 import java.io.IOException ; 33 import java.io.InputStream ; 34 35 41 public class DataInputBridgeStream extends InputStream { 42 DataInput input; 43 44 public DataInputBridgeStream(DataInput input) { 45 this.input = input; 46 } 47 48 51 public int read() throws IOException { 52 return input.readUnsignedByte(); 53 } 54 55 } 56 | Popular Tags |