The BinaryRefAddr class holds a reference to an address in binary form (that is, as an array of bytes instead of a string).

public BinaryRefAddr(String addrType, byte[] data)
public BinaryRefAddr(String addrType, byte[] data, int offset, int count)

Creates a new BinaryRefAddr with the specified address type and data bytes. You can optionally specify an offset and a count to use only a portion of the data bytes.

public Object getContent()

Returns the contents of the address. Although the return type of the method is Object, this method returns a byte array. The array you get back is the actual content of the object, not a copy, so changing values in the array affects the object's content.

Binding ...

Get Special Edition Using Java™ 2 Enterprise Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.