Java Byte Array Dump dumpBytesAsInt(byte[] b)

Here you can find the source of dumpBytesAsInt(byte[] b)

Description

dump Bytes As Int

License

Open Source License

Declaration

public static void dumpBytesAsInt(byte[] b) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void dumpBytesAsInt(byte[] b) {
        int length = b.length;
        String comma = "";
        for (int i = 0; i < length; i++) {
            System.out.print(comma + (short) b[i]);
            comma = ",";
        }//from   w ww  .  j  a  v a  2 s  .  c  o  m
        System.out.println();
    }
}

Related

  1. dumpBytes(byte[] byts, int offset, int length)
  2. dumpBytes(byte[] data)
  3. dumpBytes(byte[] data)
  4. dumpBytes(final byte[] bytes)
  5. dumpBytes(String headerStr, byte[] bytes)
  6. dumpCodeBytes(byte[] data)
  7. dumphex(byte[] bytes)
  8. dumpHexBytes(byte[] bytes)
  9. dumpHexData(String title, byte[] buf, int numBytes)