Im a bit of a newbie when it comes to Flash/Flex Builder. How do I convert a byte array to string at a particular ind开发者_开发问答ex? I got this (b is a byte array)
var s:String = b.readUTFBytes(4);
But I need to skip to a particular point in the byte array.
In C#, I can do this which would skip the first 8 bytes.
Encoding.UTF8.GetString(b, 8, 4);
How do I do the equivalent in Flash builder?
The help on ByteArrays has some good examples. Here is how I would do it.
bytes.position = 7;
trace((bytes.readUTFBytes(4)));
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论