org.ldaptive.transcode.ByteArrayValueTranscoder Maven / Gradle / Ivy
The newest version!
/* See LICENSE for licensing and NOTICE for copyright. */
package org.ldaptive.transcode;
/**
* Decodes and encodes a byte array for use in an ldap attribute value.
*
* @author Middleware Services
*/
public class ByteArrayValueTranscoder extends AbstractBinaryValueTranscoder
{
@Override
public byte[] decodeBinaryValue(final byte[] value)
{
return value;
}
@Override
public byte[] encodeBinaryValue(final byte[] value)
{
return value;
}
@Override
public Class getType()
{
return byte[].class;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy