Exemplo n.º 1
0
 public override long skip(long charCount)
 {
     lock (@lock)
     {
         return(@in.skip(charCount));
     }
 }
        internal override long GetChars(long dataIndex, char[] buffer, int bufferIndex, int length)
        {
            if (_s != null)
            {
                return(base.GetChars(dataIndex, buffer, bufferIndex, length));
            }

            if (_clob == null)
            {
                return(0);
            }

            if (buffer == null)
            {
                return(_clob.length());
            }

            java.io.Reader reader = _clob.getCharacterStream();
            reader.skip(dataIndex);
            return(reader.read(buffer, bufferIndex, length));
        }