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

Skip to content
Snippets Groups Projects
Commit 845b45a5 authored by zzz's avatar zzz
Browse files

javadoc

parent 7b7a6209
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,14 @@ public class Hash extends SimpleDataStructure { ...@@ -30,6 +30,14 @@ public class Hash extends SimpleDataStructure {
/** /**
* Pull from cache or return new * Pull from cache or return new
*
* WARNING - If the SDS is found in the cache, the passed-in
* byte array will be returned to the SimpleByteCache for reuse.
* Do NOT save a reference to the passed-in data, or use or modify it,
* after this call.
*
* Ignore this warning and you WILL corrupt the cache or other data structures.
*
* @throws IllegalArgumentException if data is not the correct number of bytes * @throws IllegalArgumentException if data is not the correct number of bytes
* @since 0.8.3 * @since 0.8.3
*/ */
......
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