utf16_le_to_7bit(9)
πΈ NAME πΈ
okay so bestie, welcome to the Kernel API Manual page for utf16_le_to_7bit(9) β¨. It naively converts a UTF-16LE string to 7-bit ASCII characters β thatβs literally the whole gig, no cap π
.
β¨ SYNOPSIS β¨
void utf16_le_to_7bit (const __le16 *in , unsigned int size , u8 *out );
π ARGUMENTS π
inβ input UTF-16LE string πsizeβ size of the input string π«outβ output string ptr, should be capable to storesize+1characters π«Ά
π¦ DESCRIPTION π¦
So it converts size UTF16-LE symbols from the in string to 7-bit ASCII characters and stores them to out. Then it adds a trailing zero to the out array β. Thatβs it, thatβs the lore π.
π₯ SEE ALSO π₯
Kernel file ./block/partitions/efi.c and these iconic functions: efi_crc32(9), last_lba(9), is_pmbr_valid(9), read_lba(9), alloc_read_gpt_entries(9), alloc_read_gpt_header(9), is_gpt_valid(9), is_pte_valid(9), compare_gpts(9), find_valid_gpt(9), efi_partition(9) π
k bye bestie π«Άβ¨ β this utf16_le_to_7bit(9) page is signing off from source/version ./block/partitions, dated October 2026 ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms