Answer the question
In order to leave comments, you need to log in
How to read BLOB from PostgreSQL in C#?
The table stores data in BLOB, how to read it correctly in c#? And determine their type (numbers, strings or picture). I am using Npgsql.
Answer the question
In order to leave comments, you need to log in
BLOB is just an array of bytes. The content type must be known and determined in advance.
To read a BLOB, you can use a MemoryStream.
https://docs.microsoft.com/ru-ru/dotnet/api/system...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question