cn.paxos.rabbitsnail.util
Class ByteArrayUtils

java.lang.Object
  extended by cn.paxos.rabbitsnail.util.ByteArrayUtils

public abstract class ByteArrayUtils
extends Object


Method Summary
static Object fromBytes(Class<?> type, byte[] bytes)
           
static byte[] increaseOne(byte[] bytes)
           
static void main(String[] args)
           
static byte[] toBytes(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toBytes

public static byte[] toBytes(Object object)

fromBytes

public static Object fromBytes(Class<?> type,
                               byte[] bytes)

increaseOne

public static byte[] increaseOne(byte[] bytes)

main

public static void main(String[] args)


Copyright © 2014. All rights reserved.