Class FSPackedNumbersStream

java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.index.FSPackedNumbersStream

public class FSPackedNumbersStream extends java.lang.Object
  • Field Details

    • MAX_BYTES_PER_NUMER

      private static final int MAX_BYTES_PER_NUMER
      See Also:
    • NUMBERS_BUFFER_SIZE

      private static final int NUMBERS_BUFFER_SIZE
      See Also:
    • BYTES_BUFFER_SIZE

      private static final int BYTES_BUFFER_SIZE
      See Also:
    • bytes

      private final byte[] bytes
    • numbers

      private final long[] numbers
    • numbersLengths

      private final int[] numbersLengths
    • input

      private final FSFile input
    • bytesStart

      private int bytesStart
    • bytesLength

      private int bytesLength
    • numbersStart

      private int numbersStart
    • numbersLength

      private int numbersLength
    • eof

      private boolean eof
    • inputStartPosition

      private long inputStartPosition
    • prefetchedBytesCount

      private long prefetchedBytesCount
  • Constructor Details

    • FSPackedNumbersStream

      public FSPackedNumbersStream(FSFile input)
  • Method Details

    • isEof

      public boolean isEof()
    • readSigned

      public long readSigned() throws SVNException
      Throws:
      SVNException
    • decodeSigned

      private long decodeSigned(long value)
    • read

      public long read() throws SVNException
      Throws:
      SVNException
    • readNextNumbersBlock

      private boolean readNextNumbersBlock() throws java.io.IOException
      Throws:
      java.io.IOException
    • seek

      public void seek(long offset)
    • position

      public long position()