Edit

kc3-lang/libqrencode/datastream.h

Branch :

  • Browse

    Commit

  • Author : fukuchi
    Date : 2006-11-10 17:21:43
    Hash : e3a61458
    Message :

  • datastream.h
  • /*
     * qrencode - QR-code encoder
     *
     * Copyright (C) 2006 Kentaro Fukuchi
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program; if not, write to the Free Software Foundation, Inc.,
     * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
     */
    
    #ifndef __DATASTREAM_H__
    #define __DATASTREAM_H__
    
    #include "qrencode.h"
    #include "bitstream.h"
    
    /**
     * Pack all bit streams padding bits into a byte array.
     * @param stream input data stream.
     * @return padded merged byte stream
     */
    extern unsigned char *QRenc_getByteStream(QRenc_DataStream *stream);
    
    #endif /* __DATASTREAM_H__ */