stellar / slingshot

A new blockchain architecture under active development, with a strong focus on scalability, privacy and safety
Apache License 2.0
415 stars 61 forks source link

readerwriter: simplify vector-reading API #453

Closed oleganza closed 4 years ago

oleganza commented 4 years ago
  1. Rename read_vec to read_bytes.
  2. Rename read_vec_with to read_vec.
  3. Remove min-item-length parameter and avoid pre-allocation of the vector to simplify the API.

closes #434