pub fn make_bytes(data: &[u8]) -> Self {
        let mut bb = BitBuffer(Vec::with_capacity(data.len() * 8));
        for &b in data {
            bb.append_bits(u32::from(b), 8);
        }
        QrSegment::new(QrSegmentMode::Byte, data.len(), bb.0)
    }
/// Returns a segment representing the given binary data encoded in byte mode.
///
/// All input byte slices are acceptable.
///
/// Any text string can be converted to UTF-8 bytes and encoded as a byte mode segment.
Returns a segment representing the given binary data encoded in byte mode.
All input byte slices are acceptable.

Any text string can be converted to UTF-8 bytes and encoded as a byte mode segment.
Returns a segment representing the given binary data encoded in byte mode . All input byte slices are acceptable . Any text string can be converted to UTF - 8 bytes and encoded as a byte mode segment .
pub fn make_bytes(data: &[u8]) -> Self {
        let mut bb = BitBuffer(Vec::with_capacity(data.len() * 8));
        for &b in data {
            bb.append_bits(u32::from(b), 8);
        }
        QrSegment::new(QrSegmentMode::Byte, data.len(), bb.0)
    }
pub fn make_bytes ( data : & [ u8 ] ) -> Self { let mut bb = BitBuffer ( Vec :: with_capacity ( data . len ( ) * 8 ) ) ; for & b in data { bb . append_bits ( u32 :: from ( b ) , 8 ) ; } QrSegment :: new ( QrSegmentMode :: Byte , data . len ( ) , bb . 0 ) }
Returns a segment representing the given binary data encoded in byte mode.
Returns a segment representing the given binary data encoded in byte mode .
data
&[u8]