{"record":{"id":"68bcf5bc9ffa0d79","repo":"tursodatabase/turso","slug":"writing-is-not-supported","errorCode":null,"errorMessage":"Writing is not supported.","messagePattern":"Writing is not supported\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs","lineNumber":94,"sourceCode":"            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    }\n\n    protected override void Dispose(bool disposing)\n    {\n        if (disposing && !_disposed)\n            _stream?.Dispose();\n","sourceCodeStart":76,"sourceCodeEnd":112,"githubUrl":"https://github.com/tursodatabase/turso/blob/bad083fafbefdeae9a42ec19bdaaad8918dcf411/bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs#L76-L112","documentation":"Error \"Writing is not supported.\" thrown in tursodatabase/turso.","triggerScenarios":"Thrown at bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs:94 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"}