• To set a byte value in an Arraybuffer jsvArrayBufferIteratorSetByteValue(&it,v­alue) is very helpful.
    Is there an similar function to read a byte value using iterator ?
    What I would like to do is something like this:

    jsvArrayBufferIteratorSetByteValue(&itDe­stination,jsvArrayBufferIteratorGetByteV­alue(&itSource))
    
  • Use jsvArrayBufferIteratorGetIntegerValue - the Byte write was (I believe) a special case because the writing of a byte is easier - but for reading there wasn't as much of a difference so I left something more general purpose. You can still do:

    jsvArrayBufferIteratorSetByteValue(&itDe­stination, (char)jsvArrayBufferIteratorGetIntegerVa­lue(&itSource))
    
  • Great,this works perfect.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

is there something like jsvArrayBufferIteratorGetByteValue ?

Posted by Avatar for JumJum @JumJum

Actions