protobuff3.0.0 DLL 编译

1 直接上源码

https://github.com/bitcraftCoLtd/protobuf3-for-unity


不得不佩服老外,果然牛逼    Unity基于.net2.0 框架  最高支持到.net3.5 所以老外大神直接把release 版本直接降级了一下 


The Google.Protobuf/project.json file was modified to target .NET 3.5

To build the library, install .NET Core and run the build_package.bat script. The .NET 3.5 Google.Protobuf.dll will be output in src\Google.Protobuf\bin\Release\net35

All the unit tests are green.

Compatible with the protoc v3.0.0

From the original README.md:

This directory contains the C# Protocol Buffers runtime library.

Status: Beta - ready for external testing

Usage

The easiest way how to use C# protobufs is via the Google.Protobuf NuGet package. Just add the NuGet package to your VS project.

You will also want to install the Google.Protobuf.Tools NuGet package, which contains precompiled version of protoc.exeand a copy of well known .proto files under the package's tools directory.

To generate C# files from your .proto files, invoke protoc with the --csharp_out option.

Supported platforms

The runtime library is built as a portable class library, supporting:

  • .NET 4.5
  • Windows 8
  • Windows Phone Silverlight 8
  • Windows Phone 8.1
  • .NET Core

You should be able to use Protocol Buffers in Visual Studio 2012 and all later versions. This includes all code generated byprotoc, which only uses features from C# 3 and earlier.

Building

Open the src/Google.Protobuf.sln solution in Visual Studio 2015 or later. You should be able to run the NUnit test from Test Explorer (you might need to install NUnit Visual Studio add-in).

Although users of this project are only expected to have Visual Studio 2012 or later, developers of the library are required to have Visual Studio 2015 or later, as the library uses C# 6 features in its implementation. These features have no impact when using the compiled code - they're only relevant when building the Google.Protobuf assembly.

History of C# protobufs

This subtree was originally imported from https://github.com/jskeet/protobuf-csharp-port and represents the latest development version of C# protobufs, that will now be developed and maintained by Google. All the development will be done in open, under this repository (https://github.com/google/protobuf).

The previous project differs from this project in a number of ways:

  • The old code only supported proto2; the new code only supports proto3 (so no unknown fields, no required/optional distinction, no extensions)
  • The old code was based on immutable message types and builders for them
  • The old code did not support maps or oneof
  • The old code had its own JSON representation, whereas the new code uses the standard protobuf JSON representation
  • The old code had no notion of the "well-known types" which have special support in the new code
  • The old project supported some older platforms (such as older versions of Silverlight) which are not currently supported in the new project

### 回答1: openssl 3.0.0 x86版编译版是一种开源软件包,用于安全通信领域中的加密和解密操作。它的编译版指的是已经经过编译的、可直接运行的版本,而x86版是指适用于x86架构的计算机。 OpenSSL是一个功能强大的加密库,它支持各种密码算法、安全协议和密钥管理功能。它的用途非常广泛,可以用于构建安全的通信通道、保护数据传输的机密性和完整性、以及数字证书的生成和管理等。编译版的意思是,开发者已经将源代码编译为可执行程序,用户无需再进行编译步骤,可以直接运行使用。 x86版是指针对基于Intel x86架构的计算机而设计的版本。这种架构是目前使用最广泛的计算机架构之一,适用于大多数个人电脑和服务器。因此,OpenSSL 3.0.0 x86版编译版可以在这些计算机上运行,并提供其强大的加密和解密功能。 使用OpenSSL 3.0.0 x86版编译版,您可以轻松地在您的系统中集成各种加密和解密操作。您可以使用它来保护敏感数据,比如在网络上进行加密通信、对密码进行加密存储和验证、生成和验证数字证书等。 总之,OpenSSL 3.0.0 x86版编译版是一种功能强大的加密库,适用于基于Intel x86架构的计算机。它可以用于构建安全的通信通道、保护数据传输的机密性和完整性,并提供数字证书的生成和管理功能。 ### 回答2: openssl3.0.0是一个流行的开源加密库,具有强大的加密和安全功能。x86版编译版是指特定的架构和编译选项下生成的可执行文件。 对于openssl3.0.0 x86版的编译版,一般是为x86架构的计算机系统编译的。在编译此版本时,会根据具体的操作系统和编译选项进行配置,以便生成适合x86架构的可执行文件。 编译版通常包括openssl的库文件和命令行工具。库文件可供开发人员在自己的应用程序中使用,以实现加密和安全功能。命令行工具则提供了各种加密和解密操作命令,例如生成证书、加密文件等。 使用openssl3.0.0 x86版编译版,你可以在自己的项目中使用openssl库的功能,比如创建SSL/TLS连接、进行数据的加密和解密,验证证书等等。你还可以使用openssl命令行工具来执行各种加密和解密操作,对文件和数据进行处理。 通过使用openssl3.0.0 x86版编译版,你能够获得最新版本的openssl库,并且根据你的需要进行编译和配置。这将使你能够使用openssl强大的加密和安全功能来保护你的数据和通信。无论是在开发过程中还是在实际应用中,openssl3.0.0 x86版编译版都是一个非常有用的工具。 ### 回答3: OpenSSL 3.0.0 x86版编译版是一款适用于x86架构的编译版本。OpenSSL是一种开放源代码的加密库,提供了各种功能,如密码学算法、网络通信协议的支持等。其最新版本为3.0.0,针对x86架构进行了编译优化。 通过对OpenSSL库进行编译,可以在x86架构的计算机系统上使用和运行OpenSSL的功能。编译版的好处是可以更好地适应特定硬件和操作系统的特性,提供更高效和稳定的性能。同时,编译版也可以优化库的大小和功能,以满足不同的需求。 对于OpenSSL 3.0.0 x86版编译版的使用,需要将其安装到操作系统中,并在开发和部署应用程序时将其链接到相应的编程语言或框架中。在开发过程中,可以使用OpenSSL的功能来实现安全通信、加密数据、生成证书等操作。在部署应用程序时,需要确保系统可以访问到正确版本的OpenSSL库。 总之,OpenSSL 3.0.0 x86版编译版是一种适用于x86架构的编译版本,通过使用它可以在x86计算机系统上进行加密通信、数据保护等操作。它的使用需要进行安装和链接,并与开发和部署的应用程序进行集成。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值