Changeset fb8244e


Ignore:
Timestamp:
Mar 16, 2012 12:18:04 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3a2fe5e
Parents:
045627a
Message:

javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/data/i2np/I2NPMessageHandler.java

    r045627a rfb8244e  
    9191    }
    9292
     93    /**
     94     *  Result is retreived with lastRead()
     95     */
    9396    public int readMessage(byte data[], int offset) throws I2NPMessageException {
    9497        return readMessage(data, offset, data.length - offset);
     
    98101     *  Set a limit on the max to read from the data buffer, so that
    99102     *  we can use a large buffer but prevent the reader from reading off the end.
     103     *
     104     *  Result is retreived with lastRead()
    100105     *
    101106     *  @param maxLen read no more than this many bytes from data starting at offset, even if it is longer
Note: See TracChangeset for help on using the changeset viewer.