Revert "fix using null string in vector (#7872)" (#8879)

This reverts commit 1cb1c4baee.
This commit is contained in:
Justin Davis
2026-03-07 08:19:34 -05:00
committed by GitHub
parent 72e51c61f7
commit 0f469cad54
2 changed files with 2 additions and 7 deletions

View File

@@ -438,8 +438,7 @@ namespace Google.FlatBuffers
if (off > Offset)
throw new ArgumentException();
if (off != 0)
off = Offset - off + sizeof(int);
off = Offset - off + sizeof(int);
PutInt(off);
}