TrainingSet Constructor (Byte, Int32, Int32)

CVB.Net Documentation
Recreate a serialized Minos training set from a byte array.

Namespace:  Stemmer.Cvb.Minos
Assembly:  Stemmer.Cvb.Minos (in Stemmer.Cvb.Minos.dll) Version: 14.0.0.0
Syntax

public TrainingSet(
	byte[] buffer,
	int offset,
	int size
)

Parameters

buffer
Type: SystemByte
Byte array from which to create the training set
offset
Type: SystemInt32
offset at which to start
size
Type: SystemInt32
number of bytes to use
Exceptions

ExceptionCondition
ArgumentNullExceptionIf buffer is null
ArgumentExceptionIf offset is less than zero or size is less than zero
ArgumentOutOfRangeExceptionIf offset and size have values that together exceed the length of buffer
InvalidDataExceptionIf buffer does not contain a deserializable Minos training set at the given offset.
See Also

Reference