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

org.exist.util.ByteArray Maven / Gradle / Ivy

There is a newer version: 6.3.0
Show newest version
/*
 * ByteArray.java - Jun 3, 2003
 * 
 * @author wolf
 */
package org.exist.util;

import java.nio.ByteBuffer;

public interface ByteArray {

	void setLength(int len);
	void copyTo(byte[] b, int offset);
	void copyTo(int start, byte[] newBuf, int offset, int len);
	void copyTo(ByteArray other);
    void copyTo(ByteBuffer buf);
	public void copyTo(int start, ByteBuffer buf, int len);
	void append(byte b);
	void append(byte[] b);
	void append(byte[] b, int offset, int length);
	int size();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy