org.yecht

Class Bytestring

public class Bytestring extends Object

Why says 'Reinvent the wheel...'. I'm reinventing it a few times over.

Author: Ola Bini

Field Summary
byte[]buffer
static intCHUNKSIZE
static intHASH
Constructor Summary
Bytestring()
Method Summary
voidappend(byte code, byte[] inbuf, int start, int finish)
voidextend(Bytestring ext)
static intstrlen(byte[] buf)
static intstrlen(byte[] buf, int start)

Field Detail

buffer

public byte[] buffer

CHUNKSIZE

public static final int CHUNKSIZE

HASH

public static final int HASH

Constructor Detail

Bytestring

public Bytestring()

Method Detail

append

public void append(byte code, byte[] inbuf, int start, int finish)

extend

public void extend(Bytestring ext)

strlen

public static int strlen(byte[] buf)

strlen

public static int strlen(byte[] buf, int start)