mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
()
This commit is contained in:
@@ -78,7 +78,7 @@ pub const Response = struct {
|
||||
if (this.body.len > 0) {
|
||||
if (this.body.ptr) |_ptr| {
|
||||
var offset: usize = 0;
|
||||
while (offset < this.body.len and _ptr[offset] > 127 or strings.utf8ByteSequenceLength(_ptr[offset]) == 0) : (offset += 1) {}
|
||||
while (offset < this.body.len and (_ptr[offset] > 127 or strings.utf8ByteSequenceLength(_ptr[offset]) == 0)) : (offset += 1) {}
|
||||
if (offset < this.body.len) {
|
||||
break :brk ZigString.init(_ptr[offset..this.body.len]).toValue(VirtualMachine.vm.global);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user