1 /** 2 * \file 3 * Copyright 2016 Microsoft 4 * Licensed under the MIT license. See LICENSE file in the project root for full license information. 5 */ 6 #ifndef __MONO_METADATA_DYNAMIC_STREAM_INTERNALS_H__ 7 #define __MONO_METADATA_DYNAMIC_STREAM_INTERNALS_H__ 8 9 #include <mono/metadata/object.h> 10 #include <mono/metadata/metadata-internals.h> 11 12 void 13 mono_dynstream_init (MonoDynamicStream *stream); 14 15 guint32 16 mono_dynstream_insert_string (MonoDynamicStream *sh, const char *str); 17 18 guint32 19 mono_dynstream_insert_mstring (MonoDynamicStream *sh, MonoString *str, MonoError *error); 20 21 guint32 22 mono_dynstream_add_data (MonoDynamicStream *stream, const char *data, guint32 len); 23 24 guint32 25 mono_dynstream_add_zero (MonoDynamicStream *stream, guint32 len); 26 27 void 28 mono_dynstream_data_align (MonoDynamicStream *stream); 29 30 #endif /* __MONO_METADATA_DYNAMIC_STREAM_INTERNALS_H__ */ 31 32