AmmosSource
guix
Last change
on this file since c063328 was 1e781ba, checked in by recknagel <recknagel@…>, 3 years ago |
former radardex-project
|
-
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.