I mean, 255 doesn't look very natural in the context of computer science.
I suppose this is related to 256, which makes sense in the same context, but I'm wondering how to do this.
one byte = 8 bits. 2 ^ 8 == 256 different values, but you must handle 0, so the range is 0-255.
According to the documentation: http://dev.mysql.com/doc/refman/5.0/en/storage-requirements.html
CHAR (M) M × w , 0 <= M <= 255, w - , VARCHAR (M), VARBINARY (M) L + 1 , 0 - 255 , L + 2 , 255 .
CHAR - - , , ; , 1 .
CHAR
VARCHAR , , , , . 255 1 , 65533 2 .
VARCHAR
Source: https://habr.com/ru/post/1791169/More articles:Options for off-screen rendering on Android with OpenGL ES 1.0? - androidConvert bidding topics to gvim colorscheme - vimConstants in the Android SDK - android-layoutWhy is my template tag in Django not working? - pythonOracle ODBC: why national characters changed to Latin equivalent as a result of SELECT - oracleScala DBs? Relational Algebra? - databasedifference between template and layout template - asp.netSafari 5 on Mac freezes when downloading files - safariExport from Intersystems Caché Database - databaseHow to get hard disk number from drive letter using VBScript - vbscriptAll Articles