-
I guess bitfields are not yet handled by DStep: certainly the bitfields in libdvbv5 header files do not seem to map to anything looking like a bitfield in D.
The current problem I have though is th…
-
As far as I can make out with my tests there is no support for bitfield `struct` serialization in Alpaca. Is there any way to achieve this, and give a standardized method to implement it for a large n…
-
A simple way to acces fields of a bitfield would be usefull.
```
cstruct some_struct {
uint2_t field1;
uint6_t field2;
uint8_t some_byte;
uint16_t rest
} as little_endian
```
-
| | |
| --- | --- |
| Bugzilla Link | [18914](https://llvm.org/bz18914) |
| Version | trunk |
| OS | Windows NT |
| CC | @seanm |
## Extended Description
trunk 201801
$: cat s.c
struct S {unsig…
-
Would it be possible to create a trait where the `Bitfield` methods are defined? Or maybe this already exists?
Thinking about the following:
* `from_bytes`
* `as_bytes`
I want to create a ge…
-
Any way to achieve bitfield support for `struct`s?
-
Bitfield gossiping is handled [here](https://github.com/paritytech/polkadot/blob/master/node/network/bitfield-distribution/src/lib.rs#L392 ).
- we can safely prioritise our own bitfields by sending t…
-
Bitfields are not directly supported in `dart:ffi` but it may be possible to generate code to work with it. See https://github.com/dart-lang/sdk/issues/38954.
-
```
module Test;
import spicy;
public type Header = unit {
: bitfield(16) {
fin: 0;
rsv: 1..3;
opcode: 4..7;
remaining: 8..15;
} &bit-order=spicy::BitOrder::MSB0;
…
-
Compiler options specified using attributes cause a parse error at parentheses after ```__attribute__```. Cutout of code where problem occured:
```c
typedef struct __attribute__ ((__packed__)) {
…