void IContentEx.Write(IUpdateEncoder encoder, int offset) { var len = _content.Count; encoder.WriteLength(len); for (int i = offset; i < len; i++) { var jsonStr = Newtonsoft.Json.JsonConvert.SerializeObject(_content[i]); encoder.WriteString(jsonStr); } }
void IContentEx.Write(IUpdateEncoder encoder, int offset) { int length = _content.Count; encoder.WriteLength(length - offset); for (int i = offset; i < length; i++) { var c = _content[i]; encoder.WriteAny(c); } }
void IContentEx.Write(IUpdateEncoder encoder, int offset) { encoder.WriteLength(Length - offset); }
internal override void Write(IUpdateEncoder encoder, int offset) { encoder.WriteInfo(StructGCRefNumber); encoder.WriteLength(Length - offset); }