Typescript Get Enum Value From String To Binary In C