Show / Hide Table of Contents

    Class ByteArrayDataOutput

    DataOutput backed by a byte array. WARNING: this class omits most low-level checks, so be sure to test heavily with assertions enabled.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    DataOutput
    ByteArrayDataOutput
    Inherited Members
    DataOutput.WriteBytes(Byte[], Int32)
    DataOutput.WriteInt32(Int32)
    DataOutput.WriteInt16(Int16)
    DataOutput.WriteVInt32(Int32)
    DataOutput.WriteInt64(Int64)
    DataOutput.WriteVInt64(Int64)
    DataOutput.WriteString(String)
    DataOutput.CopyBytes(DataInput, Int64)
    DataOutput.WriteStringStringMap(IDictionary<String, String>)
    DataOutput.WriteStringSet(ISet<String>)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class ByteArrayDataOutput : DataOutput

    Constructors

    | Improve this Doc View Source

    ByteArrayDataOutput()

    Declaration
    public ByteArrayDataOutput()
    | Improve this Doc View Source

    ByteArrayDataOutput(Byte[])

    Declaration
    public ByteArrayDataOutput(byte[] bytes)
    Parameters
    Type Name Description
    System.Byte[] bytes
    | Improve this Doc View Source

    ByteArrayDataOutput(Byte[], Int32, Int32)

    Declaration
    public ByteArrayDataOutput(byte[] bytes, int offset, int len)
    Parameters
    Type Name Description
    System.Byte[] bytes
    System.Int32 offset
    System.Int32 len

    Properties

    | Improve this Doc View Source

    Position

    Declaration
    public virtual int Position { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Reset(Byte[])

    Declaration
    public virtual void Reset(byte[] bytes)
    Parameters
    Type Name Description
    System.Byte[] bytes
    | Improve this Doc View Source

    Reset(Byte[], Int32, Int32)

    Declaration
    public virtual void Reset(byte[] bytes, int offset, int len)
    Parameters
    Type Name Description
    System.Byte[] bytes
    System.Int32 offset
    System.Int32 len
    | Improve this Doc View Source

    WriteByte(Byte)

    Declaration
    public override void WriteByte(byte b)
    Parameters
    Type Name Description
    System.Byte b
    Overrides
    DataOutput.WriteByte(Byte)
    | Improve this Doc View Source

    WriteBytes(Byte[], Int32, Int32)

    Declaration
    public override void WriteBytes(byte[] b, int offset, int length)
    Parameters
    Type Name Description
    System.Byte[] b
    System.Int32 offset
    System.Int32 length
    Overrides
    DataOutput.WriteBytes(Byte[], Int32, Int32)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)