Module brotli::enc::combined_alloc

source ยท

Macrosยง

Structsยง

Traitsยง

Functionsยง

  • alloc_default ๐Ÿ”’
    Helper function to create an empty allocator object
  • alloc_if ๐Ÿ”’
    Helper function to allocate memory or return a default value if the condition is false
  • alloc_or_default ๐Ÿ”’
    Helper function to allocate memory or return a default value when the size is 0.
  • allocate ๐Ÿ”’
    Helper function to allocate memory with the given allocator (may crash if the len is 0).