mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
more child-process (#18688)
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com>
This commit is contained in:
@@ -3765,8 +3765,7 @@ pub fn wtf8Sequence(code_point: u32) [4]u8 {
|
||||
|
||||
pub inline fn wtf8ByteSequenceLength(first_byte: u8) u8 {
|
||||
return switch (first_byte) {
|
||||
0 => 0,
|
||||
1...0x80 - 1 => 1,
|
||||
0...0x80 - 1 => 1,
|
||||
else => if ((first_byte & 0xE0) == 0xC0)
|
||||
2
|
||||
else if ((first_byte & 0xF0) == 0xE0)
|
||||
|
||||
Reference in New Issue
Block a user