Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
bro Namespace Reference

Functions

 get_binary_stdio (stream)
 
 main (args=None)
 

Variables

dict DEFAULT_PARAMS
 
dict _DEFAULT_PARAMS
 

Detailed Description

Compression/decompression utility using the Brotli algorithm.

Function Documentation

◆ get_binary_stdio()

get_binary_stdio ( stream)
 Return the specified standard input, output or errors stream as a
'raw' buffer object suitable for reading/writing binary data from/to it.
Return the specified stdin/stdout/stderr stream.

If the stdio stream requested (i.e. sys.(stdin|stdout|stderr))
has been replaced with a stream object that does not have a `.buffer`
attribute, this will return the original stdio stream's buffer, i.e.
`sys.__(stdin|stdout|stderr)__.buffer`.

Args:
  stream: One of 'stdin', 'stdout', 'stderr'.

Returns:
  The stream, as a 'raw' buffer object (i.e. io.BufferedIOBase subclass
  instance such as io.Bufferedreader/io.BufferedWriter), suitable for
  reading/writing binary data from/to it.

◆ main()

main ( args = None)

Variable Documentation

◆ _DEFAULT_PARAMS

dict _DEFAULT_PARAMS
protected
Initial value:
1= {
2 'mode': brotli.MODE_GENERIC,
3 'quality': 11,
4 'lgwin': 22,
5 'lgblock': 0,
6}

◆ DEFAULT_PARAMS

dict DEFAULT_PARAMS
Initial value:
1= {
2 'mode': brotli.MODE_GENERIC,
3 'quality': 11,
4 'lgwin': 22,
5 'lgblock': 0,
6}