equal
deleted
inserted
replaced
548 * |
548 * |
549 * <p> The bit offset within the stream is reset to zero before |
549 * <p> The bit offset within the stream is reset to zero before |
550 * the read occurs. |
550 * the read occurs. |
551 * |
551 * |
552 * @param s an array of shorts to be written to. |
552 * @param s an array of shorts to be written to. |
553 * @param off the starting position withinb to write to. |
553 * @param off the starting position within <code>s</code> to write to. |
554 * @param len the maximum number of <code>short</code>s to read. |
554 * @param len the maximum number of <code>short</code>s to read. |
555 * |
555 * |
556 * @exception IndexOutOfBoundsException if <code>off</code> is |
556 * @exception IndexOutOfBoundsException if <code>off</code> is |
557 * negative, <code>len</code> is negative, or <code>off + |
557 * negative, <code>len</code> is negative, or <code>off + |
558 * len</code> is greater than <code>s.length</code>. |
558 * len</code> is greater than <code>s.length</code>. |
573 * |
573 * |
574 * <p> The bit offset within the stream is reset to zero before |
574 * <p> The bit offset within the stream is reset to zero before |
575 * the read occurs. |
575 * the read occurs. |
576 * |
576 * |
577 * @param c an array of chars to be written to. |
577 * @param c an array of chars to be written to. |
578 * @param off the starting position withinb to write to. |
578 * @param off the starting position within <code>c</code> to write to. |
579 * @param len the maximum number of <code>char</code>s to read. |
579 * @param len the maximum number of <code>char</code>s to read. |
580 * |
580 * |
581 * @exception IndexOutOfBoundsException if <code>off</code> is |
581 * @exception IndexOutOfBoundsException if <code>off</code> is |
582 * negative, <code>len</code> is negative, or <code>off + |
582 * negative, <code>len</code> is negative, or <code>off + |
583 * len</code> is greater than <code>c.length</code>. |
583 * len</code> is greater than <code>c.length</code>. |
598 * |
598 * |
599 * <p> The bit offset within the stream is reset to zero before |
599 * <p> The bit offset within the stream is reset to zero before |
600 * the read occurs. |
600 * the read occurs. |
601 * |
601 * |
602 * @param i an array of ints to be written to. |
602 * @param i an array of ints to be written to. |
603 * @param off the starting position withinb to write to. |
603 * @param off the starting position within <code>i</code> to write to. |
604 * @param len the maximum number of <code>int</code>s to read. |
604 * @param len the maximum number of <code>int</code>s to read. |
605 * |
605 * |
606 * @exception IndexOutOfBoundsException if <code>off</code> is |
606 * @exception IndexOutOfBoundsException if <code>off</code> is |
607 * negative, <code>len</code> is negative, or <code>off + |
607 * negative, <code>len</code> is negative, or <code>off + |
608 * len</code> is greater than <code>i.length</code>. |
608 * len</code> is greater than <code>i.length</code>. |
623 * |
623 * |
624 * <p> The bit offset within the stream is reset to zero before |
624 * <p> The bit offset within the stream is reset to zero before |
625 * the read occurs. |
625 * the read occurs. |
626 * |
626 * |
627 * @param l an array of longs to be written to. |
627 * @param l an array of longs to be written to. |
628 * @param off the starting position withinb to write to. |
628 * @param off the starting position within <code>l</code> to write to. |
629 * @param len the maximum number of <code>long</code>s to read. |
629 * @param len the maximum number of <code>long</code>s to read. |
630 * |
630 * |
631 * @exception IndexOutOfBoundsException if <code>off</code> is |
631 * @exception IndexOutOfBoundsException if <code>off</code> is |
632 * negative, <code>len</code> is negative, or <code>off + |
632 * negative, <code>len</code> is negative, or <code>off + |
633 * len</code> is greater than <code>l.length</code>. |
633 * len</code> is greater than <code>l.length</code>. |
648 * |
648 * |
649 * <p> The bit offset within the stream is reset to zero before |
649 * <p> The bit offset within the stream is reset to zero before |
650 * the read occurs. |
650 * the read occurs. |
651 * |
651 * |
652 * @param f an array of floats to be written to. |
652 * @param f an array of floats to be written to. |
653 * @param off the starting position withinb to write to. |
653 * @param off the starting position within <code>f</code> to write to. |
654 * @param len the maximum number of <code>float</code>s to read. |
654 * @param len the maximum number of <code>float</code>s to read. |
655 * |
655 * |
656 * @exception IndexOutOfBoundsException if <code>off</code> is |
656 * @exception IndexOutOfBoundsException if <code>off</code> is |
657 * negative, <code>len</code> is negative, or <code>off + |
657 * negative, <code>len</code> is negative, or <code>off + |
658 * len</code> is greater than <code>f.length</code>. |
658 * len</code> is greater than <code>f.length</code>. |
673 * |
673 * |
674 * <p> The bit offset within the stream is reset to zero before |
674 * <p> The bit offset within the stream is reset to zero before |
675 * the read occurs. |
675 * the read occurs. |
676 * |
676 * |
677 * @param d an array of doubles to be written to. |
677 * @param d an array of doubles to be written to. |
678 * @param off the starting position withinb to write to. |
678 * @param off the starting position within <code>d</code> to write to. |
679 * @param len the maximum number of <code>double</code>s to read. |
679 * @param len the maximum number of <code>double</code>s to read. |
680 * |
680 * |
681 * @exception IndexOutOfBoundsException if <code>off</code> is |
681 * @exception IndexOutOfBoundsException if <code>off</code> is |
682 * negative, <code>len</code> is negative, or <code>off + |
682 * negative, <code>len</code> is negative, or <code>off + |
683 * len</code> is greater than <code>d.length</code>. |
683 * len</code> is greater than <code>d.length</code>. |
902 */ |
902 */ |
903 void reset() throws IOException; |
903 void reset() throws IOException; |
904 |
904 |
905 /** |
905 /** |
906 * Discards the initial portion of the stream prior to the |
906 * Discards the initial portion of the stream prior to the |
907 * indicated postion. Attempting to seek to an offset within the |
907 * indicated position. Attempting to seek to an offset within the |
908 * flushed portion of the stream will result in an |
908 * flushed portion of the stream will result in an |
909 * <code>IndexOutOfBoundsException</code>. |
909 * <code>IndexOutOfBoundsException</code>. |
910 * |
910 * |
911 * <p> Calling <code>flushBefore</code> may allow classes |
911 * <p> Calling <code>flushBefore</code> may allow classes |
912 * implementing this interface to free up resources such as memory |
912 * implementing this interface to free up resources such as memory |