You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-07-02 22:36:54 +02:00
16 lines
340 B
Python
16 lines
340 B
Python
from typing import List
|
|
|
|
class MerlinMessage:
|
|
urdi: bytes
|
|
func: int # unsigned 1 byte int 0...255
|
|
arg: int # unsigned 1 byte int 0...255
|
|
|
|
def __init__(self, urdi, func, arg):
|
|
self.urdi = urdi
|
|
self.func = func
|
|
self.arg = arg
|
|
|
|
@property
|
|
def data(self) -> List[int]:
|
|
return [func, arg]
|