/** * bencode编码 * @param object $value 要编码的数据 * @return string 编码后的数据 */ public static function encode($value) { return Encode::encode($value); }