Struct blosc::Buffer[][src]

pub struct Buffer<T> { /* fields omitted */ }

An opaque Blosc-compressed buffer.

It can be safely decompressed back into an array of the original type.

Methods

impl<T> Buffer<T>
[src]

Return the size of the compressed buffer.

Trait Implementations

impl<T> AsRef<[u8]> for Buffer<T>
[src]

Performs the conversion.

impl<T> Hash for Buffer<T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T> Into<Vec<u8>> for Buffer<T>
[src]

Transform self into a raw Vec of bytes. After this, it can no longer be safely decompressed.

Auto Trait Implementations

impl<T> Send for Buffer<T> where
    T: Send

impl<T> Sync for Buffer<T> where
    T: Sync