Class BinaryStringCodec
java.lang.Object
org.opendaylight.yangtools.yang.data.api.codec.AbstractIllegalArgumentCodec<String,T>
org.opendaylight.yangtools.yang.data.impl.codec.AbstractDataStringCodec<J>
org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec<byte[],BinaryTypeDefinition>
org.opendaylight.yangtools.yang.data.impl.codec.BinaryStringCodec
- All Implemented Interfaces:
BinaryCodec<String>
,IllegalArgumentCodec<String,
,byte[]> DataStringCodec<byte[]>
@Beta
public abstract sealed class BinaryStringCodec
extends TypeDefinitionAwareCodec<byte[],BinaryTypeDefinition>
implements BinaryCodec<String>
Do not use this class outside of yangtools, its presence does not fall into the API stability contract.
-
Method Summary
Modifier and TypeMethodDescriptionfinal byte[]
deserializeImpl
(String product) static BinaryStringCodec
from
(BinaryTypeDefinition type) protected final String
serializeImpl
(byte[] data) Methods inherited from class org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec
from, fromType, getInputClass, typeDefinition
Methods inherited from class org.opendaylight.yangtools.yang.data.api.codec.AbstractIllegalArgumentCodec
deserialize, serialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.codec.IllegalArgumentCodec
deserialize, serialize
-
Method Details
-
from
-
deserializeImpl
- Specified by:
deserializeImpl
in classAbstractIllegalArgumentCodec<String,
byte[]>
-
serializeImpl
- Specified by:
serializeImpl
in classAbstractIllegalArgumentCodec<String,
byte[]>
-