org.yecht
Class Bytestring

java.lang.Object
  extended by org.yecht.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 int CHUNKSIZE
           
static int HASH
           
 
Constructor Summary
Bytestring()
           
 
Method Summary
 void append(byte code, byte[] inbuf, int start, int finish)
           
 void extend(Bytestring ext)
           
static int strlen(byte[] buf)
           
static int strlen(byte[] buf, int start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

public byte[] buffer

HASH

public static final int HASH
See Also:
Constant Field Values

CHUNKSIZE

public static final int CHUNKSIZE
See Also:
Constant Field Values
Constructor Detail

Bytestring

public Bytestring()
Method Detail

strlen

public static int strlen(byte[] buf)

strlen

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

append

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

extend

public void extend(Bytestring ext)


Copyright © 2013. All Rights Reserved.