public override void WriteJson(JsonWriter writer, byte[] value, Newtonsoft.Json.JsonSerializer serializer) { if (value == null) { writer.WriteNull(); } else { writer.WriteValue(Bytes.ByteArrayToHexViaLookup32Safe(value, true)); } }
public override void WriteJson(JsonWriter writer, Keccak value, JsonSerializer serializer) { if (value == null) { writer.WriteNull(); } else { writer.WriteValue(Bytes.ByteArrayToHexViaLookup32Safe(value.Bytes, true)); } }
public override void WriteJson(JsonWriter writer, byte[] value, JsonSerializer serializer) { writer.WriteValue(Bytes.ByteArrayToHexViaLookup32Safe(value, true)); }
public string SafeLookup() { return(Bytes.ByteArrayToHexViaLookup32Safe(array, false)); }
public override void Write(Utf8JsonWriter writer, Address value, JsonSerializerOptions options) => writer.WriteStringValue(Bytes.ByteArrayToHexViaLookup32Safe(value.Bytes, true));
public string Improved() { return(Bytes.ByteArrayToHexViaLookup32Safe(array, true)); }
public override void WriteJson(JsonWriter writer, Bloom value, Newtonsoft.Json.JsonSerializer serializer) { writer.WriteValue(Bytes.ByteArrayToHexViaLookup32Safe(value.Bytes, true)); }