# CardSwipeProtocol

Extends

This interface represents a template for card swipe protocols. In order for this library to parse magnetic strip data a class implementing this interface must be created describing the new protocol.

package | Application

### Methods

## This method should return the character that denotes the end of a stream.

    getEndStream() : string

### Response

`string`

That ends a stream.

## This method should return the "sentinel" for the stream, the set of characters immediately following the start character.

    getSentinel() : string

### Response

`string`

The stream's sentinel.

## This method should return the character that denotes the start of a new signature.

    getStartStream() : string

### Response

`string`

That starts a stream.