abseil / abseil/abseil-cpp

Read / write int 8 / 16 / 32 / 64 / 128 functions

Aberta
#296 6 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
C++
Estrelas
18.1k
Forks
3.2k
Merge médio
20h 36min
PRs com merge (30d)
1

Descrição

In low-level code one sometimes has to read or write integers that may be unaligned, may be big endian, little endian or native. Could functions for this be provided? The non-native ones are non-trivial.

IMO the language itself should provide these as intrinsics but until then..

A reinterpret_cast isn't sufficient: https://github.com/abseil/abseil-cpp/issues/269

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.