Class PositionalOutputStream

    • Constructor Detail

      • PositionalOutputStream

        public PositionalOutputStream​(OutputStream out)
    • Method Detail

      • getPosition

        public final long getPosition()
        Description copied from interface: LocationAware
        The current offset, in bytes, of this stream/writer/file. Or, if this is an iterator/producer, the offset (in bytes) of the END of the most recently returned record (since a produced record corresponds to something that has been read already). See class javadoc for more. Note that for BGZF files, this does not represent an actually file position, but a virtual file pointer.
        Specified by:
        getPosition in interface LocationAware