Package org.yecht
Class Bytestring
java.lang.Object
org.yecht.Bytestring
Why says 'Reinvent the wheel...'. I'm reinventing it a few times over.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Field Details
-
hash
int hash -
buffer
public byte[] buffer -
length
int length -
remaining
int remaining -
printed
boolean printed -
HASH
public static final int HASH- See Also:
-
CHUNKSIZE
public static final int CHUNKSIZE- See Also:
-
-
Constructor Details
-
Bytestring
public Bytestring()
-
-
Method Details
-
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
-