// Generated by Lisette bindgen
// Source: compress/bzip2 (Go stdlib)
// Go: 1.25.5
// Lisette: 0.1.14

import "go:io"

/// NewReader returns an [io.Reader] which decompresses bzip2 data from r.
/// If r does not also implement [io.ByteReader],
/// the decompressor may read more data than necessary from r.
pub fn NewReader(r: io.Reader) -> io.Reader

/// A StructuralError is returned when the bzip2 data is found to be
/// syntactically invalid.
pub struct StructuralError(string)

impl StructuralError {
  fn Error(self) -> string
}
