Исправление неправильной конструкции Stream при которой поинтеры могли не сместиться при ретранслируемых пакетах
All checks were successful
Build rosetta-wss / build (push) Successful in 1m50s

This commit is contained in:
RoyceDa
2026-03-25 23:42:21 +02:00
parent e2f7802cd8
commit 4f67b56134

View File

@@ -14,6 +14,8 @@ public class Stream {
public Stream(byte[] stream) {
this.stream = stream;
this.readPointer = 0;
this.writePointer = this.stream.length << 3;
}
public byte[] getStream() {
@@ -22,6 +24,7 @@ public class Stream {
public void setStream(byte[] stream) {
this.stream = stream;
this.readPointer = 0;
this.writePointer = this.stream.length << 3;
}