/// <summary> /// Old style FormatReader for legacy versions of TickZoom tck /// data files. /// </summary> public int FromReader(byte dataVersion, BinaryReader reader) { if (tickSerializer == null) { tickSerializer = new TickSerializerDefault(); } return(tickSerializer.FromReader(ref binary, dataVersion, reader)); }
public void ResetCompression() { if (tickSerializer == null) { tickSerializer = new TickSerializerDefault(); } tickSerializer.ResetCompression(); }
public int FromReader(MemoryStream reader) { if (tickSerializer == null) { tickSerializer = new TickSerializerDefault(); } return(tickSerializer.FromReader(ref binary, reader)); }
public unsafe void ToWriter(MemoryStream writer) { if (tickSerializer == null) { tickSerializer = new TickSerializerDefault(); } tickSerializer.ToWriter(ref binary, writer); }