Ejemplo n.º 1
0
        public override global::System.Object get(global::org.xmlvm._nArrayAdapter <char> dest, int off, int len)
        {
            int length = dest.Length;

            if ((off < 0) || (len < 0) || (long)off + (long)len > length)
            {
                throw new System.IndexOutOfRangeException();
            }
            if (len > remaining())
            {
                throw new global::org.xmlvm._nExceptionAdapter(new BufferUnderflowException());
            }
            int newPosition = _fposition + len;

            ((global::java.lang.String)sequence.toString()).getChars(_fposition, newPosition, dest, off);
            _fposition = newPosition;
            return(this);
        }
Ejemplo n.º 2
0
 public object put(CharSequence key, object val)
 {
     return(put(key.toString(), val)); // could be more efficient
 }