aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/stream.h
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-06-28 15:37:22 -0400
committerDeterminant <ted.sybil@gmail.com>2019-06-28 15:37:22 -0400
commit710e9e8961cf5039b425e66d2042942b7e4af0c8 (patch)
treef69db46552945e945b5603d1d254df7e77d17b26 /include/salticidae/stream.h
parentd28bf1b0c8baec3c5ab40cfb988ff974f98da439 (diff)
clean up code
Diffstat (limited to 'include/salticidae/stream.h')
-rw-r--r--include/salticidae/stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/salticidae/stream.h b/include/salticidae/stream.h
index 2efc532..2f41782 100644
--- a/include/salticidae/stream.h
+++ b/include/salticidae/stream.h
@@ -546,7 +546,9 @@ int64_t datastream_get_i64(datastream_t *self, bool *succ);
const uint8_t *datastream_get_data_inplace(datastream_t *self, size_t len);
uint256_t *datastream_get_hash(const datastream_t *self);
bytearray_t *bytearray_new_moved_from_datastream(datastream_t *_moved_self);
+bytearray_t *bytearray_new_copied_from_datastream(datastream_t *src);
bytearray_t *bytearray_new_from_hex(const char *hex_str);
+bytearray_t *bytearray_new_from_bytes(const uint8_t *arr, size_t len);
char *datastream_get_hex(datastream_t *self);