org.exist.util
Class FixedByteArray
java.lang.Object
org.exist.util.FixedByteArray
- All Implemented Interfaces:
- ByteArray
public class FixedByteArray
- extends Object
- implements ByteArray
FixedByteArray
public FixedByteArray(byte[] data,
int start,
int len)
FixedByteArray
public FixedByteArray(byte[] data)
setLength
public void setLength(int len)
- Specified by:
setLength
in interface ByteArray
toString
public String toString()
- Overrides:
toString
in class Object
copyTo
public void copyTo(byte[] b,
int offset)
- Specified by:
copyTo
in interface ByteArray
copyTo
public void copyTo(int startOffset,
byte[] newBuf,
int offset,
int count)
- Specified by:
copyTo
in interface ByteArray
copyTo
public void copyTo(ByteArray other)
- Specified by:
copyTo
in interface ByteArray
copyTo
public void copyTo(ByteBuffer buf)
- Specified by:
copyTo
in interface ByteArray
copyTo
public void copyTo(int startOffset,
ByteBuffer buf,
int count)
- Specified by:
copyTo
in interface ByteArray
append
public void append(byte b)
- Specified by:
append
in interface ByteArray
append
public void append(byte[] b)
- Specified by:
append
in interface ByteArray
append
public void append(byte[] b,
int offset,
int length)
- Specified by:
append
in interface ByteArray
size
public int size()
- Specified by:
size
in interface ByteArray
release
public void release()
Copyright (C) Wolfgang Meier. All rights reserved.