Basho\Riak\Object::setContentEncoding PHP Method

setContentEncoding() public method

If set to base64, object data will be automatically encoded to base64 upon transfer to Riak. If set to binary or none, object data will NOT be rawurlencoded upon transfer to Riak.
public setContentEncoding ( string $content_encoding )
$content_encoding string
    public function setContentEncoding($content_encoding)
    {
        $this->content_encoding = $content_encoding;
        return $this;
    }