{"record":{"id":"a9b8225f3ee242b5","repo":"tursodatabase/turso","slug":"resizing-is-not-supported","errorCode":null,"errorMessage":"Resizing is not supported.","messagePattern":"Resizing is not supported\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs","lineNumber":88,"sourceCode":"    {\n        var stream = GetStream();\n        var position = origin switch\n        {\n            SeekOrigin.Begin => offset,\n            SeekOrigin.Current => stream.Position + offset,\n            SeekOrigin.End => stream.Length + offset,\n            _ => throw new ArgumentException(Properties.Resources.InvalidEnumValue(typeof(SeekOrigin), origin), nameof(origin))\n        };\n        if (position < 0)\n            throw new IOException(Properties.Resources.SeekBeforeBegin);\n\n        stream.Position = position;\n        return position;\n    }\n\n    public override void SetLength(long value)\n    {\n        throw new NotSupportedException(Properties.Resources.ResizeNotSupported);\n    }\n\n    public override void Write(byte[] buffer, int offset, int count)\n    {\n        if (_readOnly)\n            throw new NotSupportedException(Properties.Resources.WriteNotSupported);\n\n        ValidateBuffer(buffer, offset, count);\n        if (count == 0)\n            return;\n\n        var stream = GetStream();\n        if (stream.Position + count > stream.Length)\n            throw new NotSupportedException(Properties.Resources.ResizeNotSupported);\n\n        stream.Write(buffer, offset, count);\n        Persist();\n    }","sourceCodeStart":70,"sourceCodeEnd":106,"githubUrl":"https://github.com/tursodatabase/turso/blob/bad083fafbefdeae9a42ec19bdaaad8918dcf411/bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs#L70-L106","documentation":"Error \"Resizing is not supported.\" thrown in tursodatabase/turso.","triggerScenarios":"Thrown at bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs:88 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bad083fafbefdeae9a42ec19bdaaad8918dcf411","analyzedAt":"2026-08-16T23:12:11.798Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}