UNPKG

rtp.js

Version:

RTP stack for Node.js and browser written in TypeScript

23 lines 681 B
/** * @module utils * * @example * ```ts * import { * padTo4Bytes, * nodeBufferToDataView, * dataViewToNodeBuffer, * nodeBufferToArrayBuffer, * arrayBufferToNodeBuffer, * numericArrayToDataView, * numberToDataView, * dataViewToString, * arrayBufferToString, * stringToDataView, * getStringByteLength, * // etc. * } from 'rtp.js/utils'; * ``` */ export { padTo4Bytes, nodeBufferToDataView, dataViewToNodeBuffer, nodeBufferToArrayBuffer, arrayBufferToNodeBuffer, numericArrayToDataView, numberToDataView, dataViewToString, arrayBufferToString, stringToDataView, getStringByteLength, } from './helpers'; //# sourceMappingURL=public.d.ts.map