Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self) |
def | writeInt (self, value) |
def | writeBool (self, b) |
def | writeString (self, s) |
def | writeBinary (self, s) |
def | writeList (self, l) |
def | writeRaw (self, s) |
def | finish (self) |
def | getRaw (self) |
Public Attributes | |
data | |
Definition at line 17 of file encoder.py.
def encoder.Encoder.__init__ | ( | self | ) |
Definition at line 19 of file encoder.py.
def encoder.Encoder.finish | ( | self | ) |
Definition at line 56 of file encoder.py.
def encoder.Encoder.getRaw | ( | self | ) |
Definition at line 60 of file encoder.py.
def encoder.Encoder.writeBinary | ( | self, | |
s | |||
) |
Encode binary data using base64. This is less efficient than a 7-bit encoding would be; however, it can be decoded much faster on most browsers due to native support for the format.
Definition at line 40 of file encoder.py.
def encoder.Encoder.writeBool | ( | self, | |
b | |||
) |
Definition at line 32 of file encoder.py.
def encoder.Encoder.writeInt | ( | self, | |
value | |||
) |
Uses a 7-bit per byte encoding to stay UTF-8 "safe".
Definition at line 22 of file encoder.py.
def encoder.Encoder.writeList | ( | self, | |
l | |||
) |
Definition at line 48 of file encoder.py.
def encoder.Encoder.writeRaw | ( | self, | |
s | |||
) |
Definition at line 53 of file encoder.py.
def encoder.Encoder.writeString | ( | self, | |
s | |||
) |
Definition at line 35 of file encoder.py.
encoder.Encoder.data |
Definition at line 20 of file encoder.py.