src/FreeDSx/Asn1/Type/BitStringType.php
public function toBinary()
    {
        $bytes = '';

        foreach (str_split($this->value, 8) as $piece) {
            $bytes .= chr(bindec($piece));
        }

        return $bytes;
    }
public function toBinary()
    {
        $bytes = '';

        foreach (str_split($this->value, 8) as $piece) {
            $bytes .= chr(bindec($piece));
        }

        return $bytes;
    }
public function toBinary ( ) { $ bytes = '' ; foreach ( str_split ( $ this -> value , 8 ) as $ piece ) { $ bytes .= chr ( bindec ( $ piece ) ) ; } return $ bytes ; }
Get the packed binary representation.

@return string
Get the packed binary representation .