Migrate from tslint to eslint (will tighten rules in further commits)
This commit is contained in:
@@ -59,7 +59,7 @@ export class IPAddress
|
||||
this.ip = ipaddr.parse('0.0.0.0');
|
||||
}
|
||||
}
|
||||
writeToBuffer(buf: Buffer, pos: number)
|
||||
writeToBuffer(buf: Buffer, pos: number): void
|
||||
{
|
||||
const bytes: Uint8Array = this.ip.toByteArray();
|
||||
buf.writeUInt8(bytes[0], pos++);
|
||||
|
||||
Reference in New Issue
Block a user