TypeOfService

value class TypeOfService(val value: UByte)

An inline class to hold a IP ToS value

Constructors

Link copied to clipboard
constructor(value: Int)

Creates ToS by integer value discarding extra high bits

constructor(value: UByte)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Integer representation of this ToS

Link copied to clipboard

an unsigned byte IP_TOS value