Class BankBuf.Bank

  • Enclosing class:
    BankBuf

    protected static class BankBuf.Bank
    extends java.lang.Object
    Data bank for use within BankBuf class and its subclasses. This stores a subsequence of bytes for the Buf, and records its position within the whole sequence.
    • Constructor Summary

      Constructors 
      Constructor Description
      Bank​(java.nio.ByteBuffer byteBuffer, long start, boolean isBigendian)
      Constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bank

        public Bank​(java.nio.ByteBuffer byteBuffer,
                    long start,
                    boolean isBigendian)
        Constructor.
        Parameters:
        byteBuffer - NIO buffer containing data
        start - offset into the full sequence at which this bank is considered to start
        isBigendian - true for big-endian, false for little-endian