Add write/readString16 to interfaces

This commit is contained in:
Holly Stubbs 2023-05-02 10:12:40 +01:00 committed by Holly
parent f3b2d043b9
commit f3d7fe85c7
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E
2 changed files with 3 additions and 1 deletions

View file

@ -14,4 +14,5 @@ export interface IReader {
readDouble(): number, readDouble(): number,
readShortString(): string, readShortString(): string,
readString(): string, readString(): string,
readString16(): string,
} }

View file

@ -14,6 +14,7 @@ export interface IWriter {
writeULong(value:number): IWriter, writeULong(value:number): IWriter,
writeFloat(value:number): IWriter, writeFloat(value:number): IWriter,
writeDouble(value:number): IWriter, writeDouble(value:number): IWriter,
writeShortString(text:string): IWriter,
writeString(text:string): IWriter, writeString(text:string): IWriter,
writeShortString(text:string): IWriter writeString16(text:string): IWriter,
} }