tuweni / org.apache.tuweni.hobbits / Protocol / fromByte

fromByte

fun fromByte(b: Byte): Protocol (source)

Finds a protocol from a byte, or throws an error if no protocol exists for that code.

Parameters

b - the byte to interpret

Return
a Protocol