Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bit strings for C #99

Closed
ttt710516 opened this issue Dec 14, 2020 · 2 comments · Fixed by #100
Closed

bit strings for C #99

ttt710516 opened this issue Dec 14, 2020 · 2 comments · Fixed by #100
Assignees

Comments

@ttt710516
Copy link

Hi,
Do you consider to support bit string from 32 to 64 or 128 bits for C code generation.
Use int64_t or __int128_t to replace int32_t and use a for loop encoding to replace switch-case.

Sincerely,
Kang

@eerimoq
Copy link
Owner

eerimoq commented Dec 14, 2020

Hi,

I'll not implement it myself, but if someone implements it and creates a PR I'll likely merge it.

@Futsch1 Futsch1 self-assigned this Dec 14, 2020
@Futsch1
Copy link
Collaborator

Futsch1 commented Dec 14, 2020

I can have a look at this.

Futsch1 added a commit to Futsch1/asn1tools that referenced this issue Dec 17, 2020
Futsch1 added a commit that referenced this issue Dec 17, 2020
* Implemented #99: Bit strings are now supported up to 64 bits in length

* Refactored OER and UPER C generator: Moved C functions to separate files to make generator code clearer

* Bumped version to 0.154.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants