-/*
- * Copyright (C) 2007 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* Copyright (C) 2007 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
/** \file portable_io.h Inline functions for binary IO. */
return read_portable_be(32, buf);
}
+static inline uint32_t read_u24_be(const void *buf)
+{
+ return read_portable_be(24, buf);
+}
+
static inline uint16_t read_u16_be(const void *buf)
{
return read_portable_be(16, buf);