org.exist.util.ByteArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exist-core Show documentation
Show all versions of exist-core Show documentation
eXist-db NoSQL Database Core
/*
* 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