nrkno / sofie-emberplus-connection

Ember+ Connection: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
20 stars 15 forks source link

Feat: Ber encoding TypeScript refactor #8

Closed mint-dewit closed 4 years ago

mint-dewit commented 4 years ago

This PR refactors the encoding of Glow nodes to Ber ASN.1 and decoding of Ber ASN.1 to Glow nodes in TypeScript

This refactor focuses on 2 things:

Currently the decoder is very strict, in that it will throw away everything it's decoded when encountering an error. Work is being done to make this more forgiving in a separate PR.