Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TechHara/gunzip
/ functions
Functions
54 in github.com/TechHara/gunzip
⨍
Functions
54
◇
Types & classes
19
↓ 21 callers
Method
len
(&self)
src/checksum.rs:44
↓ 11 callers
Method
read_bits
(&mut self, n: u32)
src/bitread.rs:19
↓ 6 callers
Method
consume
(&mut self, n: u32)
src/bitread.rs:99
↓ 5 callers
Method
buffer_len
(&self)
src/bitread.rs:56
↓ 5 callers
Method
set
(&mut self, codebook: CodeBook, extra: &[(u32, u32); 32])
src/huffman_decoder.rs:58
↓ 4 callers
Method
codelength
(&self)
src/huffman_decoder.rs:28
↓ 4 callers
Method
get_flg
(&self)
src/header.rs:71
↓ 4 callers
Method
peek_bits
(&mut self)
src/bitread.rs:107
↓ 4 callers
Method
value
(&self)
src/huffman_decoder.rs:32
↓ 3 callers
Method
byte_align
(&mut self)
src/bitread.rs:92
↓ 3 callers
Method
decode
(&self, bits: u32)
src/huffman_decoder.rs:138
↓ 3 callers
Method
fill_buf
refill buffer returns # additional bytes added to buffer
src/bitread.rs:67
↓ 3 callers
Method
inflate
(&mut self, is_final: bool)
src/producer.rs:117
↓ 3 callers
Method
next
(&mut self)
src/producer.rs:211
↓ 2 callers
Method
buffer
(&self)
src/bitread.rs:52
↓ 2 callers
Method
extra_bits
(&self)
src/huffman_decoder.rs:36
↓ 2 callers
Method
read_until
(&mut self, byte: u8, buf: &mut Vec<u8>)
src/bitread.rs:132
↓ 2 callers
Method
slide
Slide the data so that at most 32kB of the most recent history is kept
src/sliding_window.rs:33
↓ 2 callers
Method
symbol
(&self)
src/huffman_decoder.rs:24
↓ 2 callers
Method
write_buffer
(&mut self, n: usize)
src/sliding_window.rs:28
↓ 1 callers
Method
boundary
(&self)
src/sliding_window.rs:46
↓ 1 callers
Method
buffer
(&mut self)
src/sliding_window.rs:22
↓ 1 callers
Method
checksum
(&mut self)
src/checksum.rs:39
↓ 1 callers
Function
decode
( window: &mut [u8; WINDOW_SIZE], boundary: usize, reader: &mut B, ll_decoder: &HuffmanDecoder
src/lz77.rs:17
↓ 1 callers
Method
fill_buf
(&mut self)
src/lib.rs:85
↓ 1 callers
Function
get_stdout
()
src/bin/gunzip.rs:43
↓ 1 callers
Method
has_data_left
(&mut self)
src/bitread.rs:122
↓ 1 callers
Method
inflate_block0
(&mut self)
src/producer.rs:98
↓ 1 callers
Method
max_length
maximum number of bits within the codebook
src/codebook.rs:61
↓ 1 callers
Method
next_helper
(&mut self)
src/producer.rs:48
↓ 1 callers
Method
read
(&mut self, buf: &mut [u8])
src/bitread.rs:78
↓ 1 callers
Method
read_dynamic_codebooks
(&mut self)
src/producer.rs:145
↓ 1 callers
Method
reset
(&mut self)
src/sliding_window.rs:51
↓ 1 callers
Method
reset_len
(&mut self)
src/checksum.rs:48
↓ 1 callers
Function
reverse_bits
https://stackoverflow.com/questions/2602823/in-c-c-whats-the-simplest-way-to-reverse-the-order-of-bits-in-a-byte
src/huffman_decoder.rs:2
↓ 1 callers
Method
update
(&mut self, xs: &[u8])
src/checksum.rs:34
↓ 1 callers
Function
usage
(program: &str)
src/bin/gunzip.rs:4
Method
bit_len
# bits remaining within the buffer
src/bitread.rs:61
Method
default_dist
()
src/codebook.rs:82
Method
default_ll
()
src/codebook.rs:65
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/error.rs:38
Method
from
(e: std::io::Error)
src/error.rs:21
Function
main
()
src/bin/gunzip.rs:11
Method
new
(read: R)
src/lib.rs:24
Method
new
(symbol: u32, codelength: u32, value: u32, extra_bits: u32)
src/huffman_decoder.rs:20
Method
new
(read: R)
src/producer.rs:36
Method
new
()
src/checksum.rs:25
Method
new
(read: R)
src/bitread.rs:42
Method
new
(lengths: impl IntoIterator<Item = u32>, len: usize)
src/codebook.rs:12
Method
new
()
src/sliding_window.rs:13
Method
read
(&mut self, buf: &mut [u8])
src/lib.rs:33
Method
read
(mut reader: impl Read + ReadUntil)
src/header.rs:25
Method
read
(mut read: impl Read)
src/footer.rs:10
Method
uninitialized
()
src/huffman_decoder.rs:50