org.exist.util
Interface ByteArray

All Known Implementing Classes:
FastByteBuffer, FixedByteArray

public interface ByteArray


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

Method Detail

setLength

void setLength(int len)

copyTo

void copyTo(byte[] b,
            int offset)

copyTo

void copyTo(int start,
            byte[] newBuf,
            int offset,
            int len)

copyTo

void copyTo(ByteArray other)

copyTo

void copyTo(ByteBuffer buf)

copyTo

void copyTo(int start,
            ByteBuffer buf,
            int len)

append

void append(byte b)

append

void append(byte[] b)

append

void append(byte[] b,
            int offset,
            int length)

size

int size()


Copyright (C) Wolfgang Meier. All rights reserved.