Class constructor.paramconn holder of this instance. this.conn = conn;
this.conn = conn;
Defines an abstract method of the interface. This method is not supposed to be used.returnthis method does not return any valuethrowsRuntimeException on invocation throw new RuntimeException("read() method is not supported.");
throw new RuntimeException("read() method is not supported.");
Reads a number of bytes to the specified byte array starting from the given offset. This method simply forwards the request to the owner IrNativeConnection instance.paramb destination byte arrayparamoff offset in the arrayparamlen number of bytes to readreturnnumber of bytes actually readthrowsIOException if an I/O error occurs return conn.read(b, off, len);
return conn.read(b, off, len);