From 2f62fe33c913cd9484fe7f2486889d12292c66e0 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sat, 07 Feb 2015 02:53:53 +0000 Subject: [PATCH] saving weight files as binaries, hell yeah --- src/utils.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/utils.h b/src/utils.h index daf3a41..e233da8 100644 --- a/src/utils.h +++ b/src/utils.h @@ -4,6 +4,8 @@ #include <time.h> #include "list.h" +void read_all(int fd, char *buffer, size_t bytes); +void write_all(int fd, char *buffer, size_t bytes); char *find_replace(char *str, char *orig, char *rep); void error(const char *s); void malloc_error(); -- Gitblit v1.10.0