Browse Source

Bytes and Struct

pull/3/head
Jure Šorn 6 years ago
parent
commit
180b47192b
1 changed files with 4 additions and 4 deletions
  1. 8
      README.md

8
README.md

@ -653,10 +653,6 @@ Bytes
<hex> = <Bytes>.hex()
```
```python
<Bytes> = b''.join(<list_of_Bytes>)
```
### Read Bytes from file
```python
def read_bytes(filename):
@ -671,6 +667,10 @@ def write_bytes(filename, bytes):
file.write(bytes)
```
```python
<Bytes> = b''.join(<list_of_Bytes>)
```
Struct
------
**This module performs conversions between Python values and C structs represented as Python bytes objects:**

Loading…
Cancel
Save