RootEncoder
Toggle table of contents
2.8.0
release
Target filter
release
Switch theme
Search in API
Skip to content
RootEncoder
whip
/
com.pedro.whip.webrtc.stun
/
StunHeader
Stun
Header
class
StunHeader
(
val
type
:
HeaderType
,
val
length
:
Int
,
val
cookie
:
Int
,
val
id
:
ByteArray
)
Members
Constructors
Stun
Header
Link copied to clipboard
constructor
(
type
:
HeaderType
,
length
:
Int
,
cookie
:
Int
,
id
:
ByteArray
)
Properties
cookie
Link copied to clipboard
val
cookie
:
Int
id
Link copied to clipboard
val
id
:
ByteArray
length
Link copied to clipboard
val
length
:
Int
type
Link copied to clipboard
val
type
:
HeaderType
Functions
to
Byte
Array
Link copied to clipboard
fun
toByteArray
(
bodyLength
:
Int
)
:
ByteArray
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String