hashgraph / hashgraph/pbj

PBJ does not support packed repeated field

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
44
Forks
15
Avg merge
1d 15h
Merged PRs (30d)
12

Description

### Description

Protobuf supports the option of packed encoding for repeated numeric fields. We do not use this today in HAPI so it is not yet supported in PBJ.

```
message Test5 {
repeated int32 f = 6 [packed=true];
}
```

https://developers.google.com/protocol-buffers/docs/encoding#packed

### Steps to reproduce

Create a protobuf with a field like: `repeated int32 f = 6 [packed=true];`

### Additional context

_No response_

### Hedera network

other

### Version

0.1.0

### Operating system

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.