public byte[] decode(String string) throws CodecException
DecoderClassCastException occurs this decode method will throw a DecoderException.decode 在接口中 Decoder<String,byte[]>string - the object to decodeCodecException - a decoder exception can be thrown for any number of reasons. Some good candidates are that the
parameter passed to this method is null, a param cannot be cast to the appropriate type for a
specific encoder.Copyright © 2021. All rights reserved.