public override bool setValue(IoBuffer ioBuffer, object value) { byte flag = Types.STRING; string str = (string)value; ioBuffer.Write(flag); int length = System.Text.Encoding.UTF8.GetByteCount(str); putVarInt32(ioBuffer, length); ioBuffer.WriteOnlyStr(str, length); AddLog(value); return(true); }