endian11
2020-12-01 f1e0868392f26cea1ccd45ec78d759d5205e5dc4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.safeluck.aykj.decoder;
 
import com.safeluck.aykj.utils.BytesUtils;
 
/**
 * Created by zhouwei on 2016/12/1.
 */
//public class BCDCoder implements IMessageCoder<String> {
//    @Override
//    public String decode(String str) {
//        return Integer.valueOf(str, 16).intValue();
//    }
//
//    @Override
//    public String encode(String i) {
//        return BytesUtils.toHexString(i.byteValue());
//    }
//}