该项目的目的是同时测试和演示来自 Unity DOTS 技术堆栈的多个新包。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

26 行
615 B

using UnityEngine;
namespace NetworkCompression
{
public enum IOStreamType
{
Raw,
Huffman
}
public static class NetworkCompressionConstants
{
public const int k_NumBuckets = 16;
public const int k_MaxHuffmanSymbolLength = 6;
public static byte[] k_BucketSizes = new byte[]
{
0, 0, 1, 2, 3, 4, 6, 8, 10, 12, 15, 18, 21, 24, 27, 32
};
public static uint[] k_BucketOffsets = new uint[]
{
0, 1, 2, 4, 8, 16, 32, 96, 352, 1376, 5472, 38240, 300384, 2397536, 19174752, 153392480
};
}
}