sams.utils
– Server side utils¶
-
get_binary_stream_size
(content: BinaryIO) → int¶ Gets the size in bytes of the binary stream
- Parameters
content (io.BytesIO) – The binary stream to inspect
- Returns
The size in bytes of the stream
- Return type