feat: chunking

This commit is contained in:
TrèsAbhi committed 2024-06-09 17:44:38 -05:00
1 parent 996c56ed43
commit c42fc908c7
2 files changed
+61 -31

No files matched your search

+3 -3
View File
@@ -34,16 +34,16 @@ export class RtsmReadStream extends ReadStream {
body() {
return {
time: this.uint32(),
base: this.uint8(),
bases: this.uint8(),
};
}
}
export class RtsmWriteStream extends WriteStream {
rtsm(base: number) {
rtsm(bases: number) {
this.magic();
this.header();
this.body(base);
this.body(bases);
return this;
}