encode static method
- LogicValue value
Encodes width explicitly and preserves X/Z without normalization.
Implementation
static Map<String, Object> encode(LogicValue value) =>
{'width': value.width, 'bits': binary(value)};
Encodes width explicitly and preserves X/Z without normalization.
static Map<String, Object> encode(LogicValue value) =>
{'width': value.width, 'bits': binary(value)};