Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InsightIM/Tok-Android
/ unsafeFromInt
Method
unsafeFromInt
app/src/main/java/im/tox/core/network/Port.java:10–12 ·
view source on GitHub ↗
(int value)
Source
from the content-addressed store, hash-verified
8
}
9
10
public
static
Port unsafeFromInt(
int
value) {
11
return
new
Port(value);
12
}
13
14
public
int
toInt() {
15
return
value;
Callers
3
getUdpPort
Method · 0.95
getTcpPort
Method · 0.95
getPort
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected