Package w.util

Interface ByteSlice

All Known Implementing Classes:
ByteSlice.Default

public interface ByteSlice
Author:
whilein
  • Method Details

    • wrap

      @NotNull static @NotNull ByteSlice wrap(byte[] array)
    • wrap

      @NotNull static @NotNull ByteSlice wrap(byte[] array, int off, int len)
    • getOffset

      int getOffset()
    • getLength

      int getLength()
    • get

      byte get(int position)
    • slice

      @NotNull @NotNull ByteSlice slice(int off, int len)
    • getSlice

      byte @NotNull [] getSlice()
    • getArray

      byte @NotNull [] getArray()
    • toString

      @NotNull @NotNull String toString()
      Overrides:
      toString in class Object
    • toBigInt

      @NotNull @NotNull BigInteger toBigInt()