External Interfaces > Reality Java Interface > JavaDocs > JavaDocs for JReal Classes > Diag

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

Reality Interface Classes: Class Diag (JReal) (diag.html)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Reality Interface Classes

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.StringbufToString(byte[] Buf, int Start, int Len)
          convert given byte array to printable string.
static voidDump(byte[] Buf, int Start, int Len)
          Convert given byte array to printable string and print it.
static voidDumper(byte[] Buf, int Start, int Len)
          Print given byte array in classic hex and ASCII dump format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 convert
Start - Start position in buffer
Len - 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 convert
Start - Start position in buffer
Len - 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 convert
Start - Start position in buffer
Len - number of bytes to convert

Reality Interface Classes

Copyright (c) 2000 Northgate Information Solutions

RealityV15.0Comment on this topic