Add validation for ToBinary
This commit is contained in:
parent
beb44d1838
commit
2aecf901dc
@ -35,7 +35,10 @@ class ToBinary extends Operation {
|
|||||||
{
|
{
|
||||||
"name": "Byte Length",
|
"name": "Byte Length",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"value": 8
|
"value": 8,
|
||||||
|
"min": 1,
|
||||||
|
"max": 256, // arbitrary - significantly larger than word size for any known machine ("640k ought to be enough for anybody")
|
||||||
|
"integer": true
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user