Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
E
F
G
H
I
L
M
N
P
Q
R
S
T
W
I
INSERTPEER
- Static variable in class peerbase.sample.
FileShareNode
intToByteArray(int)
- Static method in class peerbase.
PeerMessage
Returns a byte array containing the two's-complement representation of the integer.
The byte array will be in big-endian byte-order with a fixes length of 4 (the least significant byte is in the 4th element).
Example:
intToByteArray(258)
will return { 0, 0, 1, 2 },
BigInteger.valueOf(258).toByteArray()
returns { 1, 2 }.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
E
F
G
H
I
L
M
N
P
Q
R
S
T
W