mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-19 11:41:17 +00:00
refactor!: drop cjs support
+ Publish to JSR (jsr.io)
This commit is contained in:
@@ -113,7 +113,6 @@ export class UMP {
|
||||
}
|
||||
|
||||
public canReadFromCurrentChunk(offset: number, length: number): boolean {
|
||||
this.chunkedDataBuffer.isFocused(offset);
|
||||
return offset - this.chunkedDataBuffer.currentChunkOffset + length <= this.chunkedDataBuffer.chunks[this.chunkedDataBuffer.currentChunkIndex].length;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user