I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 68ccb3a9 authored by zzz's avatar zzz
Browse files

cleanup

parent b9aceb89
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,17 @@ import net.i2p.data.DataStructure;
* @author jrandom
*/
public interface I2NPMessage extends DataStructure {
final long MAX_ID_VALUE = (1l<<32l)-1l;
final int MAX_SIZE = 64*1024; // insane
/** 4 bytes unsigned */
public static final long MAX_ID_VALUE = (1l << 32) - 1l;
/**
* Nominal limit, actual max is much less.
* See website docs for further restrictions due to
* various overhead and limitations in encryption,
* fragmentation, and the transports.
*/
public static final int MAX_SIZE = 64*1024;
/**
* Read the body into the data structures, after the initial type byte, using
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment