# SimpleArrayByte class

Namespace: [Rhino.Runtime.InteropWrappers](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.runtime.interopwrappers.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class SimpleArrayByte : IDisposable
```

Wrapper for ON_SimpleArray<unsigned char>. If you are not writing C++ code then this class is not for you.

## Constructors

- [SimpleArrayByte](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/ctor.md): (4 overloads) Initializes a new [SimpleArrayByte](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte.md) class.

## Finalizer

- [~SimpleArrayByte](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/count.md): Gets the amount of elements in this array.

## Methods

- [Array](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/array.md): Return the raw data.
- [ConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/constpointer.md): Gets the constant (immutable) pointer of this array.
- [CopyTo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/copyto.md): Copies the contents of a [SimpleArrayByte](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte.md) into another SimpleArrayByte.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/dispose.md): Actively reclaims unmanaged resources that this instance uses.
- [NonConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/nonconstpointer.md): Gets the non-constant pointer (for modification) of this array.
- [ToArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearraybyte/toarray.md): Returns the managed counterpart of the unmanaged array.
