ProtoscopeConverter

class ProtoscopeConverter(tokenizer: ProtoscopeTokenizer = ProtoscopeTokenizer())

Converts Protoscope code to its binary representation. Note that the reverse is not currently supported.

Constructors

Link copied to clipboard
constructor(tokenizer: ProtoscopeTokenizer = ProtoscopeTokenizer())

Functions

Link copied to clipboard
fun convert(protoscope: String): ByteArray

Parses the given protoscope code and returns its corresponding binary representation.