Metadata-Version: 2.4
Name: xtce-codec
Version: 0.1.0a2
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: maturin>=1.9.6 ; extra == 'dev'
Requires-Dist: mypy>=1.0.0 ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Handles all encoding and decoding types and structures defined in the XTCE standard.
License-Expression: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/nrmiersen/xtce-codec
Project-URL: Repository, https://github.com/nrmiersen/xtce-codec

# xtce-codec
Handles all encoding and decoding types and structures defined in the XTCE standard.

**Alpha Software:** This package is currently in the alpha stage of development. The API is not stable and is subject to breaking changes in future releases. Please use with caution and report any bugs or issues you find.

# Supported Encoding Types

## Integer
| Type                        | Bits   |
| --------------------------- | ------ |
| Unsigned                    | 1 - 64 |
| Sign-Magnitude              | 1 - 64 |
| Ones' Complement            | 1 - 64 |
| Two's Complement            | 1 - 64 |
| Binary Coded Decimal        | 1 - 64 |
| Packed Binary Coded Decimal | 1 - 64 |

## Float
| Type          | Bits             |
| ------------- | ---------------- |
| IEEE754       | 16, 32, 64, 128* |
| IEEE754-1985  | 32, 64, 80*      |
| MIL-STD-1750A | 32, 48           |
| DEC           | 32, 64           |
| IBM           | 32, 64           |
| TI            | 32, 40           |

(* Python floats are f64, so f128 and f80 will be cast down to f64 and some precision will be lost)

## String
| Type         |
| ------------ |
| US-ASCII     |
| ISO-8859-1   |
| Windows-1252 |
| UTF-8        |
| UTF-16       |
| UTF-16LE     |
| UTF-16BE     |
| UTF-32       |
| UTF-32LE     |
| UTF-32BE     |

