# How to init myLongArray as array(java.lang.Long, \[myLongValue\])

**URL:** <https://forum.inductiveautomation.com/t/how-to-init-mylongarray-as-array-java-lang-long-mylongvalue/31922>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [February 4, 2020, 8:29pm UTC](https://forum.inductiveautomation.com/t/how-to-init-mylongarray-as-array-java-lang-long-mylongvalue/31922 "2020-02-04T20:29:06Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 26, 2021, 5:09pm UTC](https://forum.inductiveautomation.com/t/how-to-init-mylongarray-as-array-java-lang-long-mylongvalue/31922/7 "2021-02-26T17:09:32Z")

</div>

> [@anastasia.blinova](#):
>
> Do you know how to avoid this? Or an alternative way to turn bse64 str into Java byte array

```python
from com.inductiveautomation.ignition.common import Base64
bytes = Base64.decode(string)

```

No muss, no fuss.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-init-mylongarray-as-array-java-lang-long-mylongvalue/31922)._
