@Override
	public TransactionId getTransIdFromByte(byte[] transId) {
		
		ByteBuffer byteBuffer = ByteBuffer.wrap(transId);
		int appId = getUnsignedShort(byteBuffer);
		int busCode = getUnsignedShort(byteBuffer);
		long trxId = byteBuffer.getLong();
		
		return new TransactionId(codecer.findString(APP_ID, appId), codecer.findString(BUSINESS_CODE, busCode), trxId);
	}
@ Override public TransactionId getTransIdFromByte ( byte [ ] transId ) { ByteBuffer byteBuffer = ByteBuffer . wrap ( transId ) ; int appId = getUnsignedShort ( byteBuffer ) ; int busCode = getUnsignedShort ( byteBuffer ) ; long trxId = byteBuffer . getLong ( ) ; return new TransactionId ( codecer . findString ( APP_ID , appId ) , codecer . findString ( BUSINESS_CODE , busCode ) , trxId ) ; }
/* (non-Javadoc)
@see com.yiqiniu.easytrans.util.ByteFormIdCodec#getTransIdFromByte(byte[])