Speasy
Installation
Data Providers
NumPy compatibility
SciPy compatibility
Configuration
Examples gallery
Developer documentation
History
Contributing
Credits
Speasy
speasy.core.codecs.bundled_codecs.hapi.writer module
View page source
speasy.core.codecs.bundled_codecs.hapi.writer module
speasy.core.codecs.bundled_codecs.hapi.writer.
save_hapi
(
hapi_file
:
HapiFile
,
file
:
str
|
IOBase
|
None
,
to_func
:
Callable
[
[
HapiFile
,
IO
[
bytes
]
,
bool
]
,
bool
]
|
None
,
mode
:
str
=
'wb'
,
with_headers
:
bool
=
True
)
→
bool
|
memoryview
|
bytearray
|
bytes
[source]