We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4418c2a commit 2138d8fCopy full SHA for 2138d8f
README.md
@@ -1,4 +1,6 @@
1
# base16384
2
+> **Note**: This project used the awesome cross-patfrom binary compiling tool [cosmopolitan](https://github.com/jart/cosmopolitan)
3
+
4
Encode binary file to printable utf16be, and vise versa.
5
6
# Description 说明
base1432.c
@@ -1,6 +1,11 @@
// base1432.c
// fumiama 20220319
-#ifndef __cosmopolitan // always le
+#ifdef __cosmopolitan // always le
+# define be16toh(x) bswap_16(x)
+# define be32toh(x) bswap_32(x)
+# define htobe16(x) bswap_16(x)
7
+# define htobe32(x) bswap_32(x)
8
+#else
9
#include <stdio.h>
10
#include <stdint.h>
11
#include <stdlib.h>
0 commit comments