tuweni / org.apache.tuweni.scuttlebutt.rpc / RPCFlag / BodyType

BodyType

class BodyType : RPCFlag (source)

Flag to set a RPC body type.

Enum Values

BINARY

UTF_8_STRING

JSON

Functions

extractBodyType

Extract the body type from a flag byte

static fun extractBodyType(flagByte: Byte): BodyType!

isApplied

fun isApplied(flagByte: Byte): Boolean

value

fun value(): Int