AmmosSource
guix
Last change
on this file since d88bd02 was d88bd02, checked in by Enrico Schwass <ennoausberlin@…>, 3 years ago |
directory structure changed to reflect pip package structure
|
-
Property mode
set to
100644
|
File size:
398 bytes
|
Line | |
---|
1 | class AmmosGlobalFrameBody():
|
---|
2 |
|
---|
3 | def __init__(self, data_header, data_body):
|
---|
4 | self.data_header = data_header
|
---|
5 | self.data_body = data_body
|
---|
6 |
|
---|
7 | def data_bytes_only(self):
|
---|
8 |
|
---|
9 | byte_string = ""
|
---|
10 |
|
---|
11 | for each_block in self.data_body:
|
---|
12 | if not each_block:
|
---|
13 | print("Block is nil")
|
---|
14 |
|
---|
15 | byte_string += each_block.if_data
|
---|
16 |
|
---|
17 | return byte_string
|
---|
Note:
See
TracBrowser
for help on using the repository browser.