interface RPCFlag
(source)
Defines constants for dealing with SecureScuttlebutt RPC flags.
BodyType |
Flag to set a RPC body type. class BodyType : RPCFlag |
EndOrError |
Flag to set an end or error message. class EndOrError : RPCFlag |
Stream |
Flag to set a stream message. class Stream : RPCFlag |
apply |
Applies the flag to the byte open fun apply(flagsByte: Byte): Byte |
isApplied |
Checks if the flag bit is applied to this byte open fun isApplied(flagsByte: Byte): Boolean |
value |
The value of the flag abstract fun value(): Int |