5 * Mono Project (http://www.mono-project.com)
7 * Copyright 2001-2003 Ximian, Inc (http://www.ximian.com)
8 * Copyright 2004-2009 Novell, Inc (http://www.novell.com)
9 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
12 #include "mono-endian.h"
14 #if NO_UNALIGNED_ACCESS
32 mono_read16 (const unsigned char *x)
35 #if G_BYTE_ORDER == G_LITTLE_ENDIAN
46 mono_read32 (const unsigned char *x)
49 #if G_BYTE_ORDER == G_LITTLE_ENDIAN
64 mono_read64 (const unsigned char *x)
67 #if G_BYTE_ORDER == G_LITTLE_ENDIAN