I have a table with varbinary column:
My table {
Id int primary key,
FileBody varbinary(max)
}
Now I want to read it. It's simple I can use code like in this answer but it converts varbinary
to byte[]
and I want to avoid it.
Is it possible to put varbinary
in MemoryStream
without converting to a byte[]
?