internal static void WriteUnicodePropertyValue(TnefWriter writer, TnefPropertyReader propertyReader, ref char[] buffer) { if (buffer == null) { buffer = new char[1024]; } int count; while ((count = propertyReader.ReadTextValue(buffer, 0, buffer.Length)) != 0) { writer.WritePropertyTextValue(buffer, 0, count); } }