org.snmp4j.smi
Interface AssignableFromByteArray

All Known Implementing Classes:
BitString, IpAddress, OctetString, Opaque, TcpAddress, TransportIpAddress, UdpAddress, VariantVariable

public interface AssignableFromByteArray

The AssignableFromByteArray interface describes objects whose value can be set from a byte array and converted back to a byte array.

Since:
1.7
Version:
1.8
Author:
Frank Fock

Method Summary
 void setValue(byte[] value)
          Sets the value of this object from the supplied byte array.
 byte[] toByteArray()
          Returns the value of this object as a byte array.
 

Method Detail

setValue

void setValue(byte[] value)
Sets the value of this object from the supplied byte array.

Parameters:
value - a byte array.

toByteArray

byte[] toByteArray()
Returns the value of this object as a byte array.

Returns:
a byte array.
Since:
1.8

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.