Skip to content

Titanium.CreateBufferArgs

Arguments to be passed to createBuffer

Since: 1.7, 1.7, 1.7, 9.2.0 · Platforms: android, iphone, ipad, macos

Properties #

byteOrder#

Type: Number

The byte order of this buffer.

length#

Type: Number

The length of the buffer.

type#

Type: String

The type of data encoding to use with value.

value#

Type: String, Number

An initial value which will be encoded and placed in the buffer. If value is a Number, type must also be set. (this is simply a convenient way of calling Titanium.Codec.encodeString or Titanium.Codec.encodeNumber and placing the encoded value in the returned buffer.)

Titanium SDK Documentation