mirror of
https://github.com/iKarith/cppo-ng.git
synced 2024-06-14 13:29:59 +00:00
Add linewrap to editorconfig, doc for custom types
This commit is contained in:
parent
cea7af7bde
commit
ffbdbc4823
|
@ -8,7 +8,9 @@ trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
max_line_length=79
|
||||||
|
|
||||||
[*.py]
|
[*.py]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
max_line_length=79
|
||||||
|
|
14
doc/types.md
Normal file
14
doc/types.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Special types used by cppo
|
||||||
|
|
||||||
|
- *hex-ustr*
|
||||||
|
This is a standard Python3 string (UTF-8) containing two hex digits per byte.
|
||||||
|
whose length should always be an even number. No prefix or suffix is used,
|
||||||
|
just the digits. It's just a convenient way to specify an arbitrary stream
|
||||||
|
of bytes in a human-readable format. This is somewhat inefficient as
|
||||||
|
implemented because the functions are designed to work in Python2 and
|
||||||
|
Python3.
|
||||||
|
|
||||||
|
- *bin-ustr*
|
||||||
|
Like hex-ustr but composed of only the digits 0 and 1. You need eight of
|
||||||
|
these to make a byte. As with hex-ustr, functions operating on bin-ustr jump
|
||||||
|
through hoops to be compatible with both Python2 and Python3.
|
Loading…
Reference in New Issue
Block a user