コード例 #1
0
 public int read(char[] buffer, int offset, int length) throws IOException {
   return Util.num(
           IOUtils.bridge(
               readString,
               new Value[] {
                 getHost(),
                 new SchemeString(buffer),
                 Quantity.valueOf(offset),
                 Quantity.valueOf(length)
               }))
       .intValue();
 }
コード例 #2
0
 public int read() throws IOException {
   return Util.num(IOUtils.bridge(read, getHost())).intValue();
 }