开发者

converting this unknown data (perhaps hex) to actual numbers in action script 3

开发者 https://www.devze.com 2023-02-17 01:08 出处:网络
I get this out put开发者_高级运维 (each row is a different element) and I don\'t know how to convert it in to a readable value.

I get this out put开发者_高级运维 (each row is a different element) and I don't know how to convert it in to a readable value.

,r

ë

äL

Â:

it should be number with 9-10 digits. from what I have seen in other sites regarding this specific data (this is the value of the tempo in a midi file) - it looks something like this: "tempo is 06 96 27 (in hexa format)"

these values are ByteArray type. how do I convert them to the readable numbers (or perhaps they contain text)?


Try ByteArray.readFloat()/readInt()/readDouble() depending on what each number is meant to be

0

精彩评论

暂无评论...
验证码 换一张
取 消