Inherits from NSObject
Declared in DTASN1BitString.h

Overview

Represents a string of bits.

Properties

unusedBits

The number of bits at the end of the data chunk that are not used

@property (nonatomic, assign) NSUInteger unusedBits

Declared In

DTASN1BitString.h

Instance Methods

initWithData:unusedBits:

The designated initializer

- (id)initWithData:(NSData *)data unusedBits:(NSUInteger)unusedBits

Parameters

data

The data of the bit string

unusedBits

The number of bits at the end of the data that are not used

Declared In

DTASN1BitString.h

stringWithBits

Creates a string with bits concatenated.

- (NSString *)stringWithBits

Declared In

DTASN1BitString.h

valueOfBitAtIndex:

Returns the bit value of the bit at the given index whereas the index is numbering the individual bits.

- (BOOL)valueOfBitAtIndex:(NSUInteger)index

Parameters

index

The bit index to query

Return Value

YES if the bit at this position is 1.

Declared In

DTASN1BitString.h