org.apache.qpid.transport
Class Binary

java.lang.Object
  extended by org.apache.qpid.transport.Binary

public final class Binary
extends Object

Binary


Constructor Summary
Binary(byte[] bytes)
           
Binary(byte[] bytes, int offset, int size)
           
 
Method Summary
 byte[] array()
           
 boolean equals(Object o)
           
 byte[] getBytes()
           
 int hashCode()
           
 int offset()
           
 int size()
           
 Binary slice(int low, int high)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Binary

public Binary(byte[] bytes,
              int offset,
              int size)

Binary

public Binary(byte[] bytes)
Method Detail

getBytes

public final byte[] getBytes()

array

public final byte[] array()

offset

public final int offset()

size

public final int size()

slice

public final Binary slice(int low,
                          int high)

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Licensed to the Apache Software Foundation