Top Constructors Methods
ch.qos.logback.core.encoder

public Class ByteArrayUtil

extends Object
Class Inheritance
Imports
java.io.ByteArrayOutputStream

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static byte[]
pack-priv static int
readInt(byte[] byteArray, int offset)

public static String
toHexString(byte[] ba)

pack-priv static void
writeInt(byte[] byteArray, int offset, int i)

pack-priv static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ByteArrayUtilback to summary
public ByteArrayUtil()

Method Detail

hexStringToByteArrayback to summary
public static byte[] hexStringToByteArray(String s)
readIntback to summary
pack-priv static int readInt(byte[] byteArray, int offset)
toHexStringback to summary
public static String toHexString(byte[] ba)
writeIntback to summary
pack-priv static void writeInt(byte[] byteArray, int offset, int i)
writeIntback to summary
pack-priv static void writeInt(ByteArrayOutputStream baos, int i)