Contents

length

The number of bytes contained in the mutable data object.

Declaration

var length: Int { get set }

Discussion

The mutable data object’s length parameter is read-writeable. You can set this parameter to expand or truncate the number of bytes contained by the data object. If the mutable data object is expanded, the additional bytes are filled with zeros.

See Also

Related Documentation