Write Method Write(ICompactWriter, T) Writes a value. Declaration void Write(ICompactWriter writer, T value) Parameters ICompactWriter writer The writer. T value The value.