Why is there a 255 character limit?

Danh Trịnh

New member
Why is there a 255 character limit?
Answer
the limit is 255 because
9+36+84+126 = 255
. the 256th character (which is really the first character) is zero.

iPad 2 in black

Discontinued

March 18, 2014

Operating system

Original: iOS 4.3 Last: Wi-Fi only & Wi-Fi + Cellular (GSM) models: iOS 9.3.5, released August 25, 2016 Wi-Fi + Cellular (CDMA) model: iOS 9.3.6, released July 22, 2019

System on a chip

Apple A5

CPU

1 GHz dual-core ARM Cortex-A9
 

Tìm kiếm

Back
Top