Struct basehangul::Packer [-] [+] [src]

pub struct Packer<Iter> {
    // some fields omitted
}

An iterator adapter that packs the byte stream into a stream of unsigned integers < 2,350.

Methods

impl<Iter: Iterator<Item=u8>> Packer<Iter>

fn new(iter: Iter) -> Packer<Iter>

Creates a packing adapter.

Trait Implementations

impl<Iter: Iterator<Item=u8>> Iterator for Packer<Iter>

type Item = u16

fn next(&mut self) -> Option<u16>

fn size_hint(&self) -> (usize, Option<usize>)