Changeset 7 in libcf++ for trunk/include/cf/bin.h


Ignore:
Timestamp:
03/29/15 16:30:07 (9 years ago)
Author:
cheese
Message:

#1 fix and add interfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf/bin.h

    r4 r7  
    2929         * shallow-copy constructor(default constructor)
    3030         * @param in binary
    31          * @param size binary size
     31         * @param length binary size
    3232         */
    3333        bin(const cf::uint8_t * in = NULL,
    34             const cf::size_t size = 0);
     34            const cf::size_t length = 0);
    3535
    3636        /**
     
    7878         * set
    7979         * @param in data
    80          * @param size size
     80         * @param length size
    8181         */
    8282        cf::void_t set(const cf::uint8_t * in,
    83                        const cf::size_t size);
     83                       const cf::size_t length);
    8484
    8585        /**
     
    110110         * @return on success, position; otherwise, (cf::size_t)-1
    111111         * @param in binary
    112          * @param size binary size
     112         * @param length binary size
    113113         */
    114114        cf::size_t find(const cf::uint8_t * in,
    115                         const cf::size_t size) const;
     115                        const cf::size_t length) const;
    116116
    117117        /**
Note: See TracChangeset for help on using the changeset viewer.