the.bay.news

Help migrating to Zig 0.16.0 IO model: std.Io.File.Reader fails during readSliceAll

Ziggit
Help migrating to Zig 0.16.0 IO model: std.Io.File.Reader fails during readSliceAll
Hello everyone, I am currently working on migrating a small vector database storage engine to the new Zig 0.16.0 IO system. I am hitting a runtime issue (test failure) when trying to read a binary struct from a file using std.Io.File.Reader. Here is the context: I have a Manifest structure that I write to disk and then try to read back inside a test block. My Code: const std = @import("std"); pub const Manifest = struct { magic: [7]u8, version: u32, dimension: u32, vector_cou...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.