5 references to WriteRaw
Microsoft.ML.Tokenizers.Tests (5)
SentencePieceTests.cs (5)
515w.WriteRaw(0x41, 0x42); // only 2 bytes 528piece.WriteRaw(0x00, 0x00); // only 2 of 4 bytes 545ts.WriteRaw(0, 0, 0, 0); // only 4 of 8 bytes 560w.WriteRaw(0xFF, 0xFF, 0xFF, 0xFF, 0x07); // varint = 0x7FFFFFFF 598ts.WriteRaw(0x82, 0x80, 0x80, 0x80, 0x00); // value 2 in 5-byte non-canonical encoding