Interface ByteSequence

All Known Implementing Classes:
ByteArrayByteSequence, HttpServletEntityByteSequence, SamEntityByteSequence, StreamBufferByteSequence

public interface ByteSequence
Sequence of byte values.
Author:
Daniel Sagenschneider
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ByteSequence
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    byteAt(int index)
    Obtains the byte at the index.
    int
    Obtains the number of byte values in the ByteSequence.
  • Field Details

  • Method Details

    • byteAt

      byte byteAt(int index)
      Obtains the byte at the index.
      Parameters:
      index - Index of the byte.
      Returns:
      byte at the index.
    • length

      int length()
      Obtains the number of byte values in the ByteSequence.
      Returns:
      Number of byte values in the ByteSequence.