lib-utils-ts
Version:
<img src="https://img.shields.io/npm/v/lib-utils-ts"/> <img src="https://img.shields.io/snyk/vulnerabilities/npm/lib-utils-ts"/> <img src="https://img.shields.io/npm/l/lib-utils-ts"/> <img src="https://img.shields.io/github/languages/top/devGnode/lib-util
27 lines (21 loc) • 467 B
text/typescript
/**
*
*/
import {InputStream} from "../../file/InputStream";
export class BinaryInStream extends InputStream{
private readonly buffer:string;
private offset:number = 0;
constructor(valueIn:string) {
super();
}
mark(offset: number): void {
}
read(buffer?: string[]):number {
if(this.buffer[this.offset]!=null){
if(buffer==null) return
}
return -1;
}
public
}
Object.package(this);