tursodatabase/turso · error · NotSupportedException
Resizing is not supported.
Error message
Resizing is not supported.
What it means
Error "Resizing is not supported." thrown in tursodatabase/turso.
Source
Thrown at bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs:88
{
var stream = GetStream();
var position = origin switch
{
SeekOrigin.Begin => offset,
SeekOrigin.Current => stream.Position + offset,
SeekOrigin.End => stream.Length + offset,
_ => throw new ArgumentException(Properties.Resources.InvalidEnumValue(typeof(SeekOrigin), origin), nameof(origin))
};
if (position < 0)
throw new IOException(Properties.Resources.SeekBeforeBegin);
stream.Position = position;
return position;
}
public override void SetLength(long value)
{
throw new NotSupportedException(Properties.Resources.ResizeNotSupported);
}
public override void Write(byte[] buffer, int offset, int count)
{
if (_readOnly)
throw new NotSupportedException(Properties.Resources.WriteNotSupported);
ValidateBuffer(buffer, offset, count);
if (count == 0)
return;
var stream = GetStream();
if (stream.Position + count > stream.Length)
throw new NotSupportedException(Properties.Resources.ResizeNotSupported);
stream.Write(buffer, offset, count);
Persist();
}View on GitHub (pinned to bad083fafb)
When it happens
Trigger: Thrown at bindings/dotnet/src/Turso.Data.Sqlite/SqliteBlob.cs:88 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tursodatabase/turso@bad083fafb (2026-08-16).
Data as JSON: /api/errors/a9b8225f3ee242b5.
Report an issue: GitHub.