protected override void Act() { var stream = new MemoryStream(); using (var writer = new HessianOutputWriter(stream)) { Action.Invoke(writer); Data = stream.ToArray(); } DebugWriteArray(Data); }
public void Serialize(HessianOutputWriter writer, object graph) { writer.WriteDouble((double)graph); }
public void Serialize(HessianOutputWriter writer, object graph) { writer.WriteDateTime((DateTime)graph); }
public void Serialize(HessianOutputWriter writer, object graph) { writer.WriteString((string)graph); }
public void Serialize(HessianOutputWriter writer, object graph) { writer.WriteInt64((long)graph); }
public void Serialize(HessianOutputWriter writer, object graph) { writer.WriteInt32((int)graph); }
public void Serialize(HessianOutputWriter writer, object graph) { writer.WriteBoolean((bool)graph); }