original_string: private function _convertFromBin($binary, $base, $pad)
      {
          switch ($base) {
              case 2:
                  return DataConverter::pad($binary, ($pad ? $this->binSize : 0));
              case 10:
                  return DataConverter::binToDec($binary, ($pad ? $this->decSize : 0));
              case 16:
                  return DataConverter::binToHex($binary, ($pad ? $this->hexSize : 0));
          }
      }
code: private function _convertFromBin($binary, $base, $pad)
      {
          switch ($base) {
              case 2:
                  return DataConverter::pad($binary, ($pad ? $this->binSize : 0));
              case 10:
                  return DataConverter::binToDec($binary, ($pad ? $this->decSize : 0));
              case 16:
                  return DataConverter::binToHex($binary, ($pad ? $this->hexSize : 0));
          }
      }
code_tokens: private function _convertFromBin ( $ binary , $ base , $ pad ) { switch ( $ base ) { case 2 : return DataConverter :: pad ( $ binary , ( $ pad ? $ this -> binSize : 0 ) ) ; case 10 : return DataConverter :: binToDec ( $ binary , ( $ pad ? $ this -> decSize : 0 ) ) ; case 16 : return DataConverter :: binToHex ( $ binary , ( $ pad ? $ this -> hexSize : 0 ) ) ; } }
docstring: Helper method converting input data from binary string.
  
  @param string $binary
  @param string $type
  @param string $pad
  
  @return string
docstring_tokens: Helper method converting input data from binary string .