fontlabapp.metrics.zones.capture_codec · declarations 001
Back to fontlabapp.metrics.zones.capture_codec
DECLARATION
module-attribute
DECLARATION
encode
encode(method: Callable, identifier: int, upm: float, guides: tuple) -> bytes
Keep immutable bytes or QByteArray.data() without touching the clipboard.
Conversion through PythonQt can return a QByteArray wrapper or immutable Python bytes. Both represent the same native payload; do not decode either.
serializer
serializer(native: Any) -> Callable
Refuse old/missing ABI metadata before any master switch or native call.