Validate Port Documentation

Object: Port

Port
Port can not be Validated or Shortened directly!
Port is currently only used for Authority.
port
Number
Port is a uint16

Example

"port": 65535
pads
Number
Number of Zeroes Padded
Padding is not a part of the standard spec.

Example

"pads": 7
overflowed
Boolean
Did Port Overflow a uint16?
Overflowing is not a part of the standard spec.

Example

"overflowed": true
correct
Boolean
Was Input Correct to the Spec?

Example

"correct": true

Object Examples: Port

Input: "65535"
{
	"port": 65535,
	"correct": true
}
Input Padding and Overflow: "00000004294967295"
{
	"port": 65535,
	"pads": 7,
	"overflowed": true
}