Uint8Array
Uint8Array
- - The random byte slice.
Param | Type | Description |
---|---|---|
n | number | The length of the byte slice. |
number
number
- - The random integer.Param | Type | Description |
---|---|---|
msg | string | Object | The message to print. |
string
string
- - The default port if the given port is colliding, otherwise the given port.
Param | Type | Description |
---|---|---|
port | string | The port to check. |
defaultPort | string | The default port to return if the given port is colliding. |
boolean
boolean
- - True if the port is open, false otherwise.
Param | Type | Default | Description |
---|---|---|---|
host | string | The host to check. | |
port | string | The port to check. | |
[timeout] | number | 5 | The timeout in seconds. |
Uint8Array
Uint8Array
- - The byte slice.
Param | Type | Description |
---|---|---|
…args | any | The input to convert. |
string
string
- - The string.
Param | Type | Description |
---|---|---|
…args | any | The input to convert. |