UNPKG

@canboat/canboatjs

Version:

Native javascript version of canboat

34 lines 1.93 kB
/** * Copyright 2018 Scott Bender (scott@scottbender.net) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { PGN } from '@canboat/ts-pgns'; export declare function toPgn(data: any): Buffer | undefined; export declare function pgnToActisenseSerialFormat(pgn: PGN): string; export declare function pgnToActisenseN2KAsciiFormat(pgn: PGN): string; export declare function pgnToN2KActisenseFormat(pgn: PGN): Buffer<ArrayBufferLike> | undefined; export declare function toiKonvertSerialFormat(pgn: number, data: Buffer, dst?: number): string; export declare function pgnToiKonvertSerialFormat(pgn: any): string | undefined; export declare function pgnToYdgwRawFormat(info: any): string[]; export declare function pgnToYdgwFullRawFormat(info: any): string[]; export declare function pgnToPCDIN(info: any): string; export declare function pgnToMXPGN(info: any): string; export declare const actisenseToYdgwRawFormat: (input: string) => string[]; export declare const actisenseToYdgwFullRawFormat: (input: string) => string[]; export declare const actisenseToPCDIN: (input: string) => string; export declare const actisenseToMXPGN: (input: string) => string; export declare const actisenseToiKonvert: (input: string) => string; export declare const actisenseToN2KAsciiFormat: (input: string) => string; export declare const actisenseToN2KActisenseFormat: (...args: any[]) => any; //# sourceMappingURL=toPgn.d.ts.map