Aerospike\Bytes::__construct PHP Method

__construct() public method

Constructor for \Aerospike\Bytes class.
public __construct ( string $bin_str )
$bin_str string a PHP binary-string such as gzdeflate() produces.
    public function __construct($bin_str)
    {
        $this->s = $bin_str;
    }