ZstandardDictionary.Train Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Parameters
- samples
- ReadOnlySpan<Byte>
- sampleLengths
- ReadOnlySpan<Int32>
- maxDictionarySize
- Int32