// Copyright © 2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #pragma once namespace CefSharp { namespace Internals { namespace Serialization { //Functions to serialize/deserialize specific types into CefBinaryValue template void SetInt64(const CefRefPtr& list, TIndex index, const int64_t&value); template int64_t GetInt64(const CefRefPtr& list, TIndex index); template bool IsInt64(const CefRefPtr& list, TIndex index); template void SetCefTime(const CefRefPtr& list, TIndex index, const int64_t&value); template CefBaseTime GetCefTime(const CefRefPtr& list, TIndex index); template bool IsCefTime(const CefRefPtr& list, TIndex index); template void SetArrayBuffer(const CefRefPtr& list, TIndex index, const size_t& size, const void* value); template cli::array^ GetArrayBuffer(const CefRefPtr& list, TIndex index); template bool IsArrayBuffer(const CefRefPtr& list, TIndex index); template void SetJsCallback(const CefRefPtr& list, TIndex index, JavascriptCallback^ value); template JavascriptCallback^ GetJsCallback(const CefRefPtr& list, TIndex index); template bool IsJsCallback(const CefRefPtr& list, TIndex index); template void SetInt64(const CefRefPtr& list, int index, const int64_t&value); template void SetInt64(const CefRefPtr& list, size_t index, const int64_t&value); template void SetInt64(const CefRefPtr& list, CefString index, const int64_t&value); template int64_t GetInt64(const CefRefPtr& list, int index); template int64_t GetInt64(const CefRefPtr& list, size_t index); template int64_t GetInt64(const CefRefPtr& list, CefString index); template bool IsInt64(const CefRefPtr& list, int index); template bool IsInt64(const CefRefPtr& list, size_t index); template bool IsInt64(const CefRefPtr& list, CefString index); template void SetCefTime(const CefRefPtr& list, int index, const int64_t&value); template void SetCefTime(const CefRefPtr& list, size_t index, const int64_t&value); template void SetCefTime(const CefRefPtr& list, CefString index, const int64_t&value); template CefBaseTime GetCefTime(const CefRefPtr& list, int index); template CefBaseTime GetCefTime(const CefRefPtr& list, size_t index); template CefBaseTime GetCefTime(const CefRefPtr& list, CefString index); template bool IsCefTime(const CefRefPtr& list, size_t index); template bool IsCefTime(const CefRefPtr& list, int index); template bool IsCefTime(const CefRefPtr& list, CefString index); template void SetArrayBuffer(const CefRefPtr& list, int index, const size_t& size, const void* value); template void SetArrayBuffer(const CefRefPtr& list, size_t index, const size_t& size, const void* value); template void SetArrayBuffer(const CefRefPtr& list, CefString index, const size_t& size, const void* value); template cli::array^ GetArrayBuffer(const CefRefPtr& list, int index); template cli::array^ GetArrayBuffer(const CefRefPtr& list, size_t index); template cli::array^ GetArrayBuffer(const CefRefPtr& list, CefString index); template bool IsArrayBuffer(const CefRefPtr& list, size_t index); template bool IsArrayBuffer(const CefRefPtr& list, int index); template bool IsArrayBuffer(const CefRefPtr& list, CefString index); template void SetJsCallback(const CefRefPtr& list, int index, JavascriptCallback^ value); template void SetJsCallback(const CefRefPtr& list, size_t index, JavascriptCallback^ value); template void SetJsCallback(const CefRefPtr& list, CefString index, JavascriptCallback^ value); template JavascriptCallback^ GetJsCallback(const CefRefPtr& list, int index); template JavascriptCallback^ GetJsCallback(const CefRefPtr& list, size_t index); template JavascriptCallback^ GetJsCallback(const CefRefPtr& list, CefString index); template bool IsJsCallback(const CefRefPtr& list, int index); template bool IsJsCallback(const CefRefPtr& list, size_t index); template bool IsJsCallback(const CefRefPtr& list, CefString index); } } }