ByteArray

From Director Online Wiki
Jump to: navigation, search

ByteArray

New to 11.5 | byteArray Lingo by Category | byteArray Lingo (alphabetical)

Director 11.5 introduces a new #byteArray member and variable type. In Director 10 and earlier, it was possible to manipulate strings with NULL characters and to save them to the end-user's hard disk with the FileIO xtra. This capability was broken in Director 11.0 by the introduction of Unicode strings.

The new D11.5 byteArrays more than restore the D10 functionality.

With byteArrays you can:

  • Load external binary data into a cast member or variable
  • Save binary data to an external file
  • Transfer binary data to and from a remote server
  • Peek and poke inside the byte array
  • Use a byteArray as input for a soundObject
  • Create and modify sounds and images