public static String DataSmallString <T>(this IInstanceSerializer <T> instanceSerializer, T instance, StringBuilder builder) { builder.Length = 0; instanceSerializer.DataSmallString(instance, builder); String dataString = builder.ToString(); builder.Length = 0; return(dataString); }
public void DataSmallString(StringBuilder builder) { serializer.DataSmallString(instance, builder); }