TessaBsonSerializerSerializeBsonAsync - метод
Пространство имён: Tessa.Platform.JsonСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask SerializeBsonAsync(
Stream stream,
Object? obj,
bool withLength = false,
bool fallbackSerialization = false,
MemoryStream? bufferStream = null,
CancellationToken cancellationToken = default
)
Public Function SerializeBsonAsync (
stream As Stream,
obj As Object,
Optional withLength As Boolean = false,
Optional fallbackSerialization As Boolean = false,
Optional bufferStream As MemoryStream = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
ValueTask SerializeBsonAsync(
Stream^ stream,
Object^ obj,
bool withLength = false,
bool fallbackSerialization = false,
MemoryStream^ bufferStream = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
member SerializeBsonAsync :
stream : Stream *
obj : Object *
?withLength : bool *
?fallbackSerialization : bool *
?bufferStream : MemoryStream *
?cancellationToken : CancellationToken
(* Defaults:
let _withLength = defaultArg withLength false
let _fallbackSerialization = defaultArg fallbackSerialization false
let _bufferStream = defaultArg bufferStream null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- stream Stream
-
- obj Object
-
- withLength Boolean (Optional)
-
- fallbackSerialization Boolean (Optional)
-
- bufferStream MemoryStream (Optional)
-
- cancellationToken CancellationToken (Optional)
-
ValueTask