Package org.snmp4j.smi
Interface AssignableFromByteArray
- All Known Subinterfaces:
 Address
- All Known Implementing Classes:
 BitString,GenericAddress,IpAddress,OctetString,Opaque,SMIAddress,SshAddress,TcpAddress,TlsAddress,TransportIpAddress,TsmSecurityParameters,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
Modifier and TypeMethodDescriptionvoidsetValue(byte[] value) Sets the value of this object from the supplied byte array.byte[]Returns the value of this object as a byte array. 
- 
Method Details
- 
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
 
 
 -