public CBORFactoryBuilder disable(CBORGenerator.Feature f) { _formatWriteFeatures &= ~f.getMask(); return _this(); }
public CBORFactoryBuilder disable(CBORParser.Feature f) { _formatReadFeatures &= ~f.getMask(); return _this(); }
public CBORFactoryBuilder enable(CBORGenerator.Feature f) { _formatWriteFeatures |= f.getMask(); return _this(); }
public CBORFactoryBuilder enable(CBORParser.Feature f) { _formatReadFeatures |= f.getMask(); return _this(); }
public CBORFactoryBuilder disable(CBORParser.Feature first, CBORParser.Feature... other) { _formatReadFeatures &= ~first.getMask(); for (CBORParser.Feature f : other) { _formatReadFeatures &= ~f.getMask(); } return _this(); }
public CBORFactoryBuilder enable(CBORParser.Feature first, CBORParser.Feature... other) { _formatReadFeatures |= first.getMask(); for (CBORParser.Feature f : other) { _formatReadFeatures |= f.getMask(); } return _this(); }
public CBORFactoryBuilder enable(CBORGenerator.Feature first, CBORGenerator.Feature... other) { _formatWriteFeatures |= first.getMask(); for (CBORGenerator.Feature f : other) { _formatWriteFeatures |= f.getMask(); } return _this(); }
public CBORFactoryBuilder disable(CBORGenerator.Feature first, CBORGenerator.Feature... other) { _formatWriteFeatures &= ~first.getMask(); for (CBORGenerator.Feature f : other) { _formatWriteFeatures &= ~f.getMask(); } return _this(); }