String.allocatedLen

Get allocatedLen field.

  1. size_t allocatedLen [@property getter]
    class String
    @property
    size_t
    allocatedLen
    ()
  2. size_t allocatedLen [@property setter]

Return Value

Type: size_t

the number of bytes that can be stored in the string before it needs to be reallocated. May be larger than @len.