Class RangeEncoding

java.lang.Object
io.scanbot.sdk.barcode.RangeEncoding

public class RangeEncoding extends Object
A character encoding for a given range of bytes.
  • Constructor Details

    • RangeEncoding

      public RangeEncoding(int start, int end, CharacterEncoding encoding)
      Constructs RangeEncoding with the given params.
      Parameters:
      start - Start index of the range.
      end - End index of the range (inclusive).
      encoding - Character encoding for the given range.
  • Method Details

    • getStart

      public int getStart()
      Getter for start field. See constructor documentation for more information about the field.
      Returns:
      start
    • getEnd

      public int getEnd()
      Getter for end field. See constructor documentation for more information about the field.
      Returns:
      end
    • getEncoding

      public CharacterEncoding getEncoding()
      Getter for encoding field. See constructor documentation for more information about the field.
      Returns:
      encoding