ByteArray Lingo by Category

From Director Online Wiki
Jump to: navigation, search

ByteArray Overview

Contents

  • 1 Creating a byteArray
  • 2 Loading and Saving from an External File
  • 3 Read and Write methods
  • 4 SoundObject Methods
  • 5 Zip Compression
  • 6 Properties

Creating a byteArray

  • new(#byteArray)
  • ByteArray()
  • ByteArray(string)

Loading and Saving from an External File

  • getNetByteArray()
  • postNetByteArray()
  • FileIO.readByteArray()
  • FileIO.writeByteArray()

Read and Write methods

  • readBoolean()
  • writeBoolean()
  • readInt8()
  • readInt16()
  • readInt32()
  • writeInt8()
  • writeInt16()
  • writeInt32()
  • readFloat32()
  • readFloat64()
  • writeFloat32()
  • writeFloat64()
  • readByteArray()
  • writeByteArray()
  • readString()
  • writeString()
  • readRawString()
  • writeRawString()
  • toHexString()

SoundObject Methods

  • soundObject.registerByteArrayCallback()
  • soundObject.unregisterByteArrayCallback()

Zip Compression

  • compress()
  • uncompress()

Properties

  • endian: #bigEndian or #littleEndian (default )
  • bytesRemaining: integer
  • length: integer
  • position: integer
Retrieved from "https://director-online.dasdeck.com/dougwiki/index.php?title=ByteArray_Lingo_by_Category&oldid=2288"

Navigation menu

Views

  • Page
  • Discussion
  • View source
  • History

Personal tools

  • Log in

Navigation

  • Director Online Home
  • Wiki Home
  • Recent changes
  • Random page
  • Help

 

Tools

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • This page was last modified on 3 April 2009, at 20:21.
  • This page has been accessed 22,258 times.
  • Privacy policy
  • About Director Online Wiki
  • Disclaimers