Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PagedBytes.PagedBytesDataInput

    Inheritance
    object
    DataInput
    PagedBytes.PagedBytesDataInput
    Inherited Members
    DataInput.ReadBytes(byte[], int, int, bool)
    DataInput.ReadInt16()
    DataInput.ReadInt32()
    DataInput.ReadVInt32()
    DataInput.ReadInt64()
    DataInput.ReadVInt64()
    DataInput.ReadString()
    DataInput.ReadStringStringMap()
    DataInput.ReadStringSet()
    DataInput.SkipBytes(long)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class PagedBytes.PagedBytesDataInput : DataInput

    Methods

    Clone()

    Returns a clone of this stream.

    Clones of a stream access the same data, and are positioned at the same point as the stream they were cloned from.

    Expert: Subclasses must ensure that clones may be positioned at different points in the input from each other and from the stream they were cloned from.
    Declaration
    public override object Clone()
    Returns
    Type Description
    object
    Overrides
    DataInput.Clone()

    GetPosition()

    Returns the current byte position.

    Declaration
    public long GetPosition()
    Returns
    Type Description
    long

    ReadByte()

    Reads and returns a single byte.

    Declaration
    public override byte ReadByte()
    Returns
    Type Description
    byte
    Overrides
    DataInput.ReadByte()
    See Also
    WriteByte(byte)

    ReadBytes(byte[], int, int)

    Reads a specified number of bytes into an array at the specified offset.

    Declaration
    public override void ReadBytes(byte[] b, int offset, int len)
    Parameters
    Type Name Description
    byte[] b

    the array to read bytes into

    int offset

    the offset in the array to start storing bytes

    int len

    the number of bytes to read

    Overrides
    DataInput.ReadBytes(byte[], int, int)
    See Also
    WriteBytes(byte[], int)

    SetPosition(long)

    Seek to a position previously obtained from GetPosition().

    Declaration
    public void SetPosition(long position)
    Parameters
    Type Name Description
    long position
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.