All Packages  This Package  Class Hierarchy  Class Search  Index

Class app.hex.Dump
java.lang.Object
   |
   +----app.hex.Hex
           |
           +----app.hex.Dump

  Summary

public class  Dump
     extends app.hex.Hex
{
          // Constructors 1
     public Dump();

          // Methods 6
     public static void hexBlock(String, byte[]);
     public static void hexBlock(String, byte[], int);
     public static void hexLine(PrintStream, String, byte[], int, int);
     public static void hexLine(String, byte[], int, int);
     public static void newLine();
     public static void text(String);

}

A collection of static methods for dumping bytes in hex. Extends Hex class for formatting.

See Also: Hex




  Constructors

· Dump

Summary  |  Top

   public Dump() 

Default constructor



  Methods

· text

Summary  |  Top
   public static void text(String toShow) 

Print the String to System.out.



· newLine

Summary  |  Top
   public static void newLine() 

Print a new-line to System.out.



· hexLine

Summary  |  Top
   public static void hexLine(PrintStream out, 
                              String prefix, 
                              byte[] data, 
                              int offset, 
                              int count) 

Dump the bytes indicated in one line of text, preceded by a given non-null prefix, and followed by a call to Dump.newLine().



· hexLine

Summary  |  Top
   public static void hexLine(String prefix, 
                              byte[] data, 
                              int offset, 
                              int count) 

Dump the bytes indicated in one line of text, preceded by a given non-null prefix, and followed by a call to Dump.newLine().



· hexBlock

Summary  |  Top
   public static void hexBlock(String header, 
                               byte[] data) 

Dump all the data bytes, first showing the header.



· hexBlock

Summary  |  Top
   public static void hexBlock(String header, 
                               byte[] data, 
                               int count) 

Dump only the given count of the data bytes, first showing the header. Always starts dumping at offset 0 in data.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7