@Beta public abstract class BinaryStringCodec extends TypeDefinitionAwareCodec<byte[],org.opendaylight.yangtools.yang.model.api.type.BinaryTypeDefinition> implements org.opendaylight.yangtools.yang.data.api.codec.BinaryCodec<String>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
deserialize(String stringRepresentation) |
static BinaryStringCodec |
from(org.opendaylight.yangtools.yang.model.api.type.BinaryTypeDefinition type) |
String |
serialize(byte[] data) |
from, fromType, getInputClass, getTypeDefinitionpublic static BinaryStringCodec from(org.opendaylight.yangtools.yang.model.api.type.BinaryTypeDefinition type)
public String serialize(byte[] data)
serialize in interface org.opendaylight.yangtools.concepts.Serializer<String,byte[]>serialize in interface org.opendaylight.yangtools.yang.data.api.codec.BinaryCodec<String>serialize in interface DataStringCodec<byte[]>public byte[] deserialize(String stringRepresentation)
deserialize in interface org.opendaylight.yangtools.concepts.Deserializer<byte[],String>deserialize in interface org.opendaylight.yangtools.yang.data.api.codec.BinaryCodec<String>deserialize in interface DataStringCodec<byte[]>Copyright © 2019 OpenDaylight. All rights reserved.