Class SettableFieldPointer

    • Constructor Detail

      • SettableFieldPointer

        public SettableFieldPointer()
    • Method Detail

      • setPositionAndLength

        public void setPositionAndLength​(long position,
                                         long length)
        Sets the position and the length to be returned when interface's methods are called.
      • length

        public long length()
        Description copied from interface: ReadableFieldPointer
        Length of the field. Never necessary to read a field, since all fields can be read without knowing their entire length. Provided because it may be useful for reading in a more optimal manner.
        Specified by:
        length in interface ReadableFieldPointer