Class NativeBitArrayUnsafeUtility | Collections | 0.11.0-preview.17
docs.unity3d.com
    Show / Hide Table of Contents

    Class NativeBitArrayUnsafeUtility

    NativeBitArray unsafe utility helpers.

    Inheritance
    Object
    NativeBitArrayUnsafeUtility
    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public static class NativeBitArrayUnsafeUtility

    Methods

    ConvertExistingDataToNativeBitArray(Void*, Int32, Allocator)

    Convert existing data to bit array container.

    Declaration
    public static NativeBitArray ConvertExistingDataToNativeBitArray(void *ptr, int sizeInBytes, Allocator allocator)
    Parameters
    Type Name Description
    Void* ptr

    Pointer to data.

    Int32 sizeInBytes

    Size of data in bytes. Must be multiple of 8-bytes.

    Allocator allocator

    A member of the Unity.Collections.Allocator enumeration.

    Returns
    Type Description
    NativeBitArray

    Returns bit array container.

    In This Article
    • Methods
      • ConvertExistingDataToNativeBitArray(Void*, Int32, Allocator)
    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