public byte[] ToArray() { MemoryStream stream = new MemoryStream(); BinaryWriter writer = new BinaryWriter(stream); writer.Write(ConverterHelper.GetBytes(Content)); writer.Write(PreviousItem); return(stream.ToArray()); }
public void SetAtIndex(int index, T obj) { byte[] data = ConverterHelper.GetBytes(obj); SetAtIndex(index, data); }