Samuel-Tyler / fast_ber

A C++11 ASN.1 BER Encoding and Decoding Library
Boost Software License 1.0
84 stars 11 forks source link

Create dedicated type for BitString #23

Open Samuel-Tyler opened 4 years ago

Samuel-Tyler commented 4 years ago

Currently BitString uses the generic StringImpl for its implementation. Instead, a specific type for BitString should be created. This should be construct-able from binary data, and also a range of bools (including std::vector). Conversion to std::vector should be provided.

This will allow the BitString to be constructed from an ASN.1 value in the syntax { 1, 0, 1, ... }.

Acceptance