public void Setup() { this.converterData = BufferGenerators.GenerateWithConverters( 22, new Coordinate { X = 10, Y = 20, Z = 30 }, "This is a lot of string data. This is a lot of string data. This is a lot of string data."); this.streamData = BufferGenerators.GenerateWithStream( 22, new Coordinate { X = 10, Y = 20, Z = 30 }, "This is a lot of string data. This is a lot of string data. This is a lot of string data."); this.spanData = BufferGenerators.GenerateWithSpan( 22, new Coordinate { X = 10, Y = 20, Z = 30 }, "This is a lot of string data. This is a lot of string data. This is a lot of string data."); }
public byte[] GetConverterBytes() => BufferGenerators.GenerateWithConverters( 22, new Coordinate { X = 10, Y = 20, Z = 30 }, "This is a lot of string data. This is a lot of string data. This is a lot of string data.");