This commit is contained in:
Daniel Imms
2026-01-31 15:33:49 -08:00
parent 0ca1bd48be
commit ccbf612ddb
6 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -199,7 +199,7 @@ export class ApcParser implements IApcParser {
* as APC handlers.
*/
export class ApcHandler implements IApcHandler {
private static PAYLOAD_LIMIT = ParserConstants.PAYLOAD_LIMIT;
private static _payloadLimit = ParserConstants.PAYLOAD_LIMIT;
private _data = '';
private _hitLimit: boolean = false;
@@ -216,7 +216,7 @@ export class ApcHandler implements IApcHandler {
return;
}
this._data += utf32ToString(data, start, end);
if (this._data.length > ApcHandler.PAYLOAD_LIMIT) {
if (this._data.length > ApcHandler._payloadLimit) {
this._data = '';
this._hitLimit = true;
}