PHP 클래스 Dcrypt\Support

파일 보기 프로젝트 열기: dopecode/dcrypt

보호된 메소드들

메소드 설명
bin2dec ( string $bin ) : string Reverses dec2bin
dec2bin ( integer $dec ) : string Turns an integer into a 4 byte binary representation
hex2bin ( string $hexstr ) : string An internal hex2bin implementation for PHP 5.3

메소드 상세

bin2dec() 보호된 정적인 메소드

Reverses dec2bin
protected static bin2dec ( string $bin ) : string
$bin string Binary string to convert to decimal
리턴 string

dec2bin() 보호된 정적인 메소드

Turns an integer into a 4 byte binary representation
protected static dec2bin ( integer $dec ) : string
$dec integer Integer to convert to binary
리턴 string

hex2bin() 보호된 정적인 메소드

An internal hex2bin implementation for PHP 5.3
protected static hex2bin ( string $hexstr ) : string
$hexstr string
리턴 string