This commit is contained in:
Kitteh 2021-06-02 12:46:19 +01:00
parent f5b075730d
commit f120f7c511

View file

@ -8,7 +8,7 @@ fn dumpDebug(name: []const u8, list: std.ArrayList(u8)) !void {
const file = try std.fs.cwd().createFile(
name,
.{ .read = !true },
.{ .truncate = false },
);
defer file.close();
@ -50,6 +50,8 @@ pub const Client = struct {
try map.put("ClientVersion", .{ .string = "0.1 (quasselclient)" });
try map.put("ClientDate", .{ .string = "0" });
try list.writer().writeAll("owo");
try write.add_qvariantmap(list.writer(), map);
try dumpDebug("ClientInit.bin", list);