Changeset 96cf5986


Ignore:
Timestamp:
May 22, 2011 6:34:41 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
606300a
Parents:
6b923c7
Message:

javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/DataHelper.java

    r6b923c7 r96cf5986  
    857857    }
    858858
     859    /**
     860     *  Unlike eq(byte[], byte[]), this returns false if both lhs and rhs are null.
     861     *  @throws AIOOBE if either array isn't long enough
     862     */
    859863    public final static boolean eq(byte lhs[], int offsetLeft, byte rhs[], int offsetRight, int length) {
    860864        if ( (lhs == null) || (rhs == null) ) return false;
     
    10051009     * Warning - strips \n but not \r
    10061010     * Warning - 8KB line length limit as of 0.7.13, @throws IOException if exceeded
     1011     * Warning - not UTF-8
    10071012     */
    10081013    public static String readLine(InputStream in) throws IOException { return readLine(in, (Sha256Standalone)null); }
     
    10121017     * Warning - strips \n but not \r
    10131018     * Warning - 8KB line length limit as of 0.7.13, @throws IOException if exceeded
     1019     * Warning - not UTF-8
    10141020     */
    10151021    public static String readLine(InputStream in, Sha256Standalone hash) throws IOException {
     
    10261032     * Warning - strips \n but not \r
    10271033     * Warning - 8KB line length limit as of 0.7.13, @throws IOException if exceeded
     1034     * Warning - not UTF-8
    10281035     * @deprecated use StringBuilder version
    10291036     *
     
    10431050     * Warning - strips \n but not \r
    10441051     * Warning - 8KB line length limit as of 0.7.13, @throws IOException if exceeded
     1052     * Warning - not UTF-8
    10451053     * @deprecated use StringBuilder version
    10461054     */
     
    10671075     * Warning - strips \n but not \r
    10681076     * Warning - 8KB line length limit as of 0.7.13, @throws IOException if exceeded
     1077     * Warning - not UTF-8
    10691078     *
    10701079     * @return true if the line was read, false if eof was reached before a
     
    10791088     * Warning - strips \n but not \r
    10801089     * Warning - 8KB line length limit as of 0.7.13, @throws IOException if exceeded
     1090     * Warning - not UTF-8
    10811091     */
    10821092    public static boolean readLine(InputStream in, StringBuilder buf, Sha256Standalone hash) throws IOException {
Note: See TracChangeset for help on using the changeset viewer.