fix: copy in intermediate codec
This commit is contained in:
parent
5e26949560
commit
677c534fb2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export class IntermediatePacketCodec implements IPacketCodec {
|
|||
return null
|
||||
}
|
||||
|
||||
return read.exactly(reader, length)
|
||||
return new Uint8Array(read.exactly(reader, length))
|
||||
}
|
||||
|
||||
encode(frame: Uint8Array, into: ISyncWritable): void {
|
||||
|
|
Loading…
Reference in a new issue