We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fd5f2 commit 8eb49daCopy full SHA for 8eb49da
Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/XdrStream.cs
@@ -643,7 +643,7 @@ public void WriteBlobBuffer(byte[] buffer)
643
{
644
var length = buffer.Length; // 2 for short for buffer length
645
if (length > short.MaxValue)
646
- throw new IOException();
+ throw new IOException("Blob buffer too big.");
647
Write(length + 2);
648
Write(length + 2); //bizarre but true! three copies of the length
649
WriteByte((byte)((length >> 0) & 0xff));
0 commit comments