mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] TEngineServer
[+] TEngineServer
This commit is contained in:
26
Assets/GameScripts/ThirdParty/Protobuf-net/PrefixStyle.cs
vendored
Normal file
26
Assets/GameScripts/ThirdParty/Protobuf-net/PrefixStyle.cs
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
namespace ProtoBuf
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies the type of prefix that should be applied to messages.
|
||||
/// </summary>
|
||||
public enum PrefixStyle
|
||||
{
|
||||
/// <summary>
|
||||
/// No length prefix is applied to the data; the data is terminated only be the end of the stream.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
/// <summary>
|
||||
/// A base-128 ("varint", the default prefix format in protobuf) length prefix is applied to the data (efficient for short messages).
|
||||
/// </summary>
|
||||
Base128 = 1,
|
||||
/// <summary>
|
||||
/// A fixed-length (little-endian) length prefix is applied to the data (useful for compatibility).
|
||||
/// </summary>
|
||||
Fixed32 = 2,
|
||||
/// <summary>
|
||||
/// A fixed-length (big-endian) length prefix is applied to the data (useful for compatibility).
|
||||
/// </summary>
|
||||
Fixed32BigEndian = 3
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user