Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InsightIM/Tok-Android
/ Port
Method
Port
app/src/main/java/im/tox/core/network/Port.java:6–8 ·
view source on GitHub ↗
(int value)
Source
from the content-addressed store, hash-verified
4
public
int
value;
5
6
private
Port(
int
value) {
7
this.value = value;
8
}
9
10
public
static
Port unsafeFromInt(
int
value) {
11
return
new
Port(value);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected