org.exist.util
Class FixedByteArray
java.lang.Object
org.exist.util.FixedByteArray
- All Implemented Interfaces:
- ByteArray
- public class FixedByteArray
- extends java.lang.Object
- implements ByteArray
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.String toString()
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(java.nio.ByteBuffer buf)
- Specified by:
copyTo
in interface ByteArray
copyTo
public void copyTo(int startOffset,
java.nio.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.