#include <datastream.h>
|
| StreamingWriteStream (intptr_t initial_capacity, Dart_StreamingWriteCallback callback, void *callback_data) |
|
| ~StreamingWriteStream () |
|
| BaseWriteStream (intptr_t initial_size) |
|
virtual | ~BaseWriteStream () |
|
DART_FORCE_INLINE intptr_t | bytes_written () const |
|
virtual intptr_t | Position () const |
|
intptr_t | Align (intptr_t alignment, intptr_t offset=0) |
|
void | WriteWordWith32BitWrites (uword value) |
|
template<typename T > |
void | WriteUnsigned (T value) |
|
void | WriteRefId (intptr_t value) |
|
void | WriteBytes (const void *addr, intptr_t len) |
|
void | WriteWord (uword value) |
|
void | WriteTargetWord (word value) |
|
void | Printf (const char *format,...) PRINTF_ATTRIBUTE(2 |
|
void | va_start (args, format) |
|
| VPrintf (format, args) |
|
| va_end (args) |
|
void | VPrintf (const char *format, va_list args) |
|
template<typename T > |
void | Write (T value) |
|
template<typename T > |
void | WriteFixed (T value) |
|
DART_FORCE_INLINE void | WriteByte (uint8_t value) |
|
void | WriteString (const char *cstr) |
|
template<typename T > |
C::only_if_unsigned< T, void > | WriteLEB128 (T value) |
|
template<typename T > |
C::only_if_signed< T, void > | WriteLEB128 (T value) |
|
template<typename T > |
C::only_if_signed< T, void > | WriteSLEB128 (T value) |
|
template<typename T > |
C::only_if_unsigned< T, void > | WriteSLEB128 (T value) |
|
| ValueObject () |
|
| ~ValueObject () |
|
Definition at line 669 of file datastream.h.
◆ StreamingWriteStream()
dart::StreamingWriteStream::StreamingWriteStream |
( |
intptr_t |
initial_capacity, |
|
|
Dart_StreamingWriteCallback |
callback, |
|
|
void * |
callback_data |
|
) |
| |
|
inlineexplicit |
Definition at line 671 of file datastream.h.
676 callback_data_(callback_data) {}
BaseWriteStream(intptr_t initial_size)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
◆ ~StreamingWriteStream()
dart::StreamingWriteStream::~StreamingWriteStream |
( |
| ) |
|
◆ Flush()
void dart::StreamingWriteStream::Flush |
( |
| ) |
|
|
privatevirtual |
Definition at line 52 of file datastream.cc.
52 {
55 flushed_size_ +=
size;
57}
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ Position()
virtual intptr_t dart::StreamingWriteStream::Position |
( |
| ) |
const |
|
inlineprivatevirtual |
◆ Realloc()
void dart::StreamingWriteStream::Realloc |
( |
intptr_t |
new_size | ) |
|
|
privatevirtual |
Implements dart::BaseWriteStream.
Definition at line 40 of file datastream.cc.
40 {
42
44 return;
45 }
50}
static constexpr T RoundUp(T x, uintptr_t alignment, uintptr_t offset=0)
void * realloc(void *ptr, size_t size)
◆ SetPosition()
virtual void dart::StreamingWriteStream::SetPosition |
( |
intptr_t |
value | ) |
|
|
inlineprivatevirtual |
The documentation for this class was generated from the following files: