forked from atenfyr/UAssetAPI
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
241 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# ByteArrayJsonConverter | ||
|
||
Namespace: UAssetAPI.JSON | ||
|
||
```csharp | ||
public class ByteArrayJsonConverter : Newtonsoft.Json.JsonConverter | ||
``` | ||
|
||
Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → JsonConverter → [ByteArrayJsonConverter](./uassetapi.json.bytearrayjsonconverter.md) | ||
|
||
## Properties | ||
|
||
### **CanRead** | ||
|
||
```csharp | ||
public bool CanRead { get; } | ||
``` | ||
|
||
#### Property Value | ||
|
||
[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br> | ||
|
||
### **CanWrite** | ||
|
||
```csharp | ||
public bool CanWrite { get; } | ||
``` | ||
|
||
#### Property Value | ||
|
||
[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br> | ||
|
||
## Constructors | ||
|
||
### **ByteArrayJsonConverter()** | ||
|
||
```csharp | ||
public ByteArrayJsonConverter() | ||
``` | ||
|
||
## Methods | ||
|
||
### **CanConvert(Type)** | ||
|
||
```csharp | ||
public bool CanConvert(Type objectType) | ||
``` | ||
|
||
#### Parameters | ||
|
||
`objectType` [Type](https://docs.microsoft.com/en-us/dotnet/api/system.type)<br> | ||
|
||
#### Returns | ||
|
||
[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br> | ||
|
||
### **WriteJson(JsonWriter, Object, JsonSerializer)** | ||
|
||
```csharp | ||
public void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) | ||
``` | ||
|
||
#### Parameters | ||
|
||
`writer` JsonWriter<br> | ||
|
||
`value` [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)<br> | ||
|
||
`serializer` JsonSerializer<br> | ||
|
||
### **ReadJson(JsonReader, Type, Object, JsonSerializer)** | ||
|
||
```csharp | ||
public object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) | ||
``` | ||
|
||
#### Parameters | ||
|
||
`reader` JsonReader<br> | ||
|
||
`objectType` [Type](https://docs.microsoft.com/en-us/dotnet/api/system.type)<br> | ||
|
||
`existingValue` [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)<br> | ||
|
||
`serializer` JsonSerializer<br> | ||
|
||
#### Returns | ||
|
||
[Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.