• To set a byte value in an Arraybuffer jsvArrayBufferIteratorSetByteValue(&it,value) 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(&itDestination,jsvArrayBufferIteratorGetByteValue(&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)jsvArrayBufferIteratorGetIntegerValue(&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