diff --git a/interfaces/kits/cj/src/stream_ffi.h b/interfaces/kits/cj/src/stream_ffi.h index 0faa4eba245aaee8119eef509d611b4987956603..c841d584b11814bc345168d3c88ac7a9a988d052 100644 --- a/interfaces/kits/cj/src/stream_ffi.h +++ b/interfaces/kits/cj/src/stream_ffi.h @@ -27,6 +27,7 @@ FFI_EXPORT RetCode FfiOHOSStreamFlush(int64_t id); FFI_EXPORT RetDataI64 FfiOHOSStreamWriteCur(int64_t id, const char* buffer, int64_t length, const char* encode); FFI_EXPORT RetDataI64 FfiOHOSStreamWrite(int64_t id, const char* buffer, int64_t length, int64_t offset, const char* encode); + FFI_EXPORT RetDataI64 FfiOHOSStreamReadCur(int64_t id, uint8_t* buffer, int64_t bufLen, int64_t length); FFI_EXPORT RetDataI64 FfiOHOSStreamRead(int64_t id, uint8_t* buffer, int64_t bufLen, int64_t length, int64_t offset); }