|
Reality Interface Classes | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.northgateis.util
Class Diag
java.lang.Object | +--com.northgateis.util.Diag
- public class Diag
- extends java.lang.Object
Defines a set of methods for converting byte arrays to displayable strings
There is no constructor as all methods are static.
Constructor Summary | |
Diag()
|
Method Summary | |
static java.lang.String |
|
static void |
|
static void |
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
Diag
public Diag()
Method Detail |
bufToString
public static java.lang.String bufToString(byte[] Buf, int Start, int Len)
- convert given byte array to printable string. Reality delimiters
are converted to their usual character representation.
- Parameters:
Buf
- byte array to convertStart
- Start position in bufferLen
- number of bytes to convert
Dump
public static void Dump(byte[] Buf, int Start, int Len)
- Convert given byte array to printable string and print it.
Reality delimiters are converted to their usual character representation.
String is printed on System.err.
- Parameters:
Buf
- byte array to convertStart
- Start position in bufferLen
- number of bytes to convert
Dumper
public static void Dumper(byte[] Buf, int Start, int Len)
- Print given byte array in classic hex and ASCII dump format.
Reality delimiters are converted to their usual character representation.
The byte array is formated with 16 bytes per line.
- Parameters:
Buf
- byte array to convertStart
- Start position in bufferLen
- number of bytes to convert
| Reality Interface Classes | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2000 NEC Software Services (UK) Limited