public int size() {
        return value.length;
    }
Tests whether the give buffer starts with this binary constant.

@param buffer The buffer to test.
@return Whether the give buffer starts with this binary constant.
src/main/java/org/apache/commons/imaging/common/BinaryConstant.java