Package com.cosylab.epics.caj.util
Class HexDump
- java.lang.Object
-
- com.cosylab.epics.caj.util.HexDump
-
public class HexDump extends Object
Utility for dumping binary data.- Version:
- $id$
- Author:
- Matej Sekoranja
-
-
Constructor Summary
Constructors Constructor Description HexDump()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhexDump(String name, byte[] bs)Output a buffer in hex format.static voidhexDump(String name, byte[] bs, int len)Output a buffer in hex format.static voidhexDump(String name, byte[] bs, int start, int len)Output a buffer in hex format.
-
-
-
Method Detail
-
hexDump
public static void hexDump(String name, byte[] bs)
Output a buffer in hex format.- Parameters:
name- name (desctription) of the message.bs- buffer to dump
-
hexDump
public static void hexDump(String name, byte[] bs, int len)
Output a buffer in hex format.- Parameters:
name- name (desctription) of the message.bs- buffer to dumplen- first bytes (length) to dump.
-
hexDump
public static void hexDump(String name, byte[] bs, int start, int len)
Output a buffer in hex format.- Parameters:
name- name (desctription) of the message.bs- buffer to dumpstart- dump message using given offset.len- first bytes (length) to dump.
-
-