Package org.yecht

Class Bytestring

java.lang.Object
org.yecht.Bytestring

public class Bytestring extends Object
Why says 'Reinvent the wheel...'. I'm reinventing it a few times over.
  • 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

      public void extend(Bytestring ext)