I am trying to store the files data in sqlite. Where i gets bytes of data
public class FileDetailsEntity
{
public byte[] FileStream { get; set; }
public string FileName { get; set; }
}
How to save FileStream in sqlite database.
I tried of using Encoding.ASCII.GetBytes(this.FileStream) but it is showing encoding does not consists ASCII...is there any other way to store byte array[] in sqlite database.