All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jeewx.api.mp.aes.ByteGroup Maven / Gradle / Ivy

Go to download

微信和钉钉开发SDK,主要提供微信、企业微信、钉钉的JAVA封装,降低集成难度,让API变简单

The newest version!
package org.jeewx.api.mp.aes;

import java.util.ArrayList;

class ByteGroup {
	ArrayList byteContainer = new ArrayList();

	public byte[] toBytes() {
		byte[] bytes = new byte[byteContainer.size()];
		for (int i = 0; i < byteContainer.size(); i++) {
			bytes[i] = byteContainer.get(i);
		}
		return bytes;
	}

	public ByteGroup addBytes(byte[] bytes) {
		for (byte b : bytes) {
			byteContainer.add(b);
		}
		return this;
	}

	public int size() {
		return byteContainer.size();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy