Class ArrayInput

All Implemented Interfaces:
Closeable, AutoCloseable

public final class ArrayInput extends BufferInput
This class allows reading from a cached byte array.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • ArrayInput

      public ArrayInput(byte[] in)
      Constructor, specifying the byte array to be read.
      Parameters:
      in - input bytes
    • ArrayInput

      public ArrayInput(String in)
      Constructor, specifying the string to be read.
      Parameters:
      in - input bytes
  • Method Details

    • readByte

      protected int readByte()