summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dump/h5dump.c')
-rw-r--r--tools/h5dump/h5dump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index ca21773..69adb31 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -2725,6 +2725,11 @@ set_binary_form(const char *form)
bform = 0;
else if (strcmp(form,"DI")==0) /* file type form */
bform = 1;
+ else if (strcmp(form,"LI")==0) /* convert to little endian */
+ bform = 2;
+ else if (strcmp(form,"BI")==0) /* convert to big endian */
+ bform = 3;
+
return bform;
}