src/Encoder.php
private function encodeInteger($data = null)
    {
        $data = is_null($data) ? $this->data : $data;
        return sprintf("i%.0fe", $data);
    }
private function encodeInteger($data = null)
    {
        $data = is_null($data) ? $this->data : $data;
        return sprintf("i%.0fe", $data);
    }
private function encodeInteger ( $ data = null ) { $ data = is_null ( $ data ) ? $ this -> data : $ data ; return sprintf ( "i%.0fe" , $ data ) ; }
Encode an integer

@param  integer $data The integer to be encoded.
@return string  Returns the bencode encoded integer.
Encode an integer