Struct UnsafeAppendBuffer.Reader | Collections | 0.2.0-preview.13
docs.unity3d.com
    Show / Hide Table of Contents

    Struct UnsafeAppendBuffer.Reader

    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public struct Reader

    Constructors

    Reader(Void*, Int32)

    Declaration
    public Reader(void *buffer, int size)
    Parameters
    Type Name Description
    Void* buffer
    Int32 size

    Reader(ref UnsafeAppendBuffer)

    Declaration
    public Reader(ref UnsafeAppendBuffer buffer)
    Parameters
    Type Name Description
    UnsafeAppendBuffer buffer

    Fields

    Offset

    Declaration
    public int Offset
    Field Value
    Type Description
    Int32

    Ptr

    Declaration
    public readonly byte *Ptr
    Field Value
    Type Description
    Byte*

    Size

    Declaration
    public readonly int Size
    Field Value
    Type Description
    Int32

    Properties

    EndOfBuffer

    Declaration
    public bool EndOfBuffer { get; }
    Property Value
    Type Description
    Boolean

    Methods

    ReadNext(Int32)

    Declaration
    public void *ReadNext(int structSize)
    Parameters
    Type Name Description
    Int32 structSize
    Returns
    Type Description
    Void*

    ReadNext(out String)

    Declaration
    public void ReadNext(out string value)
    Parameters
    Type Name Description
    String value

    ReadNext<T>()

    Declaration
    public T ReadNext<T>()
        where T : struct
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    ReadNext<T>(out T)

    Declaration
    public void ReadNext<T>(out T value)
        where T : struct
    Parameters
    Type Name Description
    T value
    Type Parameters
    Name Description
    T

    ReadNext<T>(out NativeArray<T>, Allocator)

    Declaration
    public void ReadNext<T>(out NativeArray<T> value, Allocator allocator)
        where T : struct
    Parameters
    Type Name Description
    NativeArray<T> value
    Allocator allocator
    Type Parameters
    Name Description
    T

    Extension Methods

    JobNativeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobNativeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023