ZstandardDictionary.Train 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
static cli::array <System::Byte> ^ Train(ReadOnlySpan<System::Byte> samples, ReadOnlySpan<int> sampleLengths, int maxDictionarySize);
public static byte[] Train(ReadOnlySpan<byte> samples, ReadOnlySpan<int> sampleLengths, int maxDictionarySize);
static member Train : ReadOnlySpan<byte> * ReadOnlySpan<int> * int -> byte[]
Public Shared Function Train (samples As ReadOnlySpan(Of Byte), sampleLengths As ReadOnlySpan(Of Integer), maxDictionarySize As Integer) As Byte()
参数
- samples
- ReadOnlySpan<Byte>
- sampleLengths
- ReadOnlySpan<Int32>
- maxDictionarySize
- Int32
返回
Byte[]