public interface IByteArrayDecoder extends IDecoder<byte[]>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDecoded(byte[] aEncodedBuffer)
Decode a byte array.
|
byte[] |
getDecoded(String sEncoded,
Charset aCharset)
Decode the passed string.
|
@Nullable @ReturnsMutableCopy byte[] getDecoded(@Nullable byte[] aEncodedBuffer)
getDecoded in interface IDecoder<byte[]>aEncodedBuffer - The byte array to be decoded. May not be null.null if the parameter was
null.DecodeException - in case something goes wrong@Nullable @ReturnsMutableCopy byte[] getDecoded(@Nullable String sEncoded, @Nonnull Charset aCharset)
sEncoded - The string to be decoded. May be null.aCharset - The charset to be used. May not be null.null if the input string is null.DecodeException - in case something goes wrongCopyright © 2014–2015 Philip Helger. All rights reserved.