Menu

Command: word size

b.zaar

Word size: -w [bytes]

Sets the data word size for most commands like dump, enter, insert etc. Valid values are 1 = 8 bit, 2 = 16 bit, 4 = 32 bit and 8 = 64 bit.

hexed -w 2

This will set the word size to 16 bit so when used with a command like dump will display the data as 2 bytes long as in this example:

hexed -w 2 -e 18 ffff abcd 1234 dead -d
00000000  0000 0000 0000 0000  0000 0000 0000 0000  ................
00000010  0000 0000 0000 0000  ffff abcd 1234 dead  ............4...

MongoDB Logo MongoDB