# What's readUInt30 and WriteUInt30 in Haxe 4?

**URL:** https://community.haxe.org/t/whats-readuint30-and-writeuint30-in-haxe-4/2220
**Category:** Haxe
**Created:** [January 17, 2020, 9:31am UTC](https://community.haxe.org/t/whats-readuint30-and-writeuint30-in-haxe-4/2220 "2020-01-17T09:31:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Zhan](https://community.haxe.org/user_avatar/community.haxe.org/zhan/32/468_2.png) [@Zhan](https://community.haxe.org/u/Zhan)
#### Post date: [January 17, 2020, 9:31am UTC](https://community.haxe.org/t/whats-readuint30-and-writeuint30-in-haxe-4/2220/1 "2020-01-17T09:31:50Z")

</div>

> **[ncannasse/haxevideo](https://github.com/ncannasse/haxevideo)**
>
> FLV streaming server. Contribute to ncannasse/haxevideo development by creating an account on GitHub.

what’s readUInt30 and WriteUInt30 in Haxe 4 ?

this lib have lots of change in haxe api .

> <https://github.com/ncannasse/haxevideo/blob/fbbd58f8176a5d7d47fae015323d62693701f396/hxvid/Rtmp.hx#line=135>

---

<div class="post-metadata">

### Author: ![RealyUniqueName](https://community.haxe.org/user_avatar/community.haxe.org/realyuniquename/32/10_2.png) [@RealyUniqueName](https://community.haxe.org/u/RealyUniqueName)
#### Post date: [January 17, 2020, 12:10pm UTC](https://community.haxe.org/t/whats-readuint30-and-writeuint30-in-haxe-4/2220/2 "2020-01-17T12:10:38Z")

</div>

There were no `readUInt30` in Haxe 3 either: [haxe.io.BytesInput - Haxe 3.4.7 API](https://api.haxe.org/v/3.4.7/haxe/io/BytesInput.html)  
Taking into account the code is ten years old, it could be something from Haxe 2.

---

<div class="post-metadata">

### Author: ![nanjizal](https://community.haxe.org/user_avatar/community.haxe.org/nanjizal/32/239_2.png) [@nanjizal](https://community.haxe.org/u/nanjizal)
#### Post date: [January 18, 2020, 6:56pm UTC](https://community.haxe.org/t/whats-readuint30-and-writeuint30-in-haxe-4/2220/3 "2020-01-18T18:56:13Z")

</div>

I have used haxevideo, but not recently it was mostly for use with flash so not that current?

> <https://github.com/HaxeFoundation/format/blob/master/format/swf/Reader.hx#L453>

Hope this helps.
