Skip to content

Commit

Permalink
feat(stream): add export for openStream helper
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenoak authored Nov 27, 2023
1 parent cc20a0e commit 2bf6b87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import StringIo, { StringOptions } from './type/StringIo.js';
import StructIo, { StructFields, StructOptions } from './type/StructIo.js';
import TlvIo, { TlvValueCallback } from './type/TlvIo.js';
import { validateType } from './util.js';
import { openStream } from './stream/util.js';

const array = (type: IoType, options: ArrayOptions) =>
new ArrayIo(type, options);
Expand Down Expand Up @@ -189,5 +190,6 @@ export {
float64,
float64be,
float64le,
openStream,
validateType,
};

0 comments on commit 2bf6b87

Please sign in to comment.