ads-b
Version:
Library for decoding ADS-B messages emitted from Aircraft
12 lines (11 loc) • 325 B
TypeScript
/**
* MIT License
* Copyright (c) 2019 Matt Laver
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/mattlaver/ads-b/blob/master/LICENSE
*/
export interface IDecoder<T> {
isValid(message: string): boolean;
decode(message: string): T;
}