Skip to content

Instantly share code, notes, and snippets.

import com.github.plokhotnyuk.jsoniter_scala.core.JsonWriter;
import java.util.Arrays;
public class CharArrayJsoniterWriter {
static void encode(byte[] str, JsonWriter out) {
readField(str, 0, out);
}
private static int readField(byte[] str, int pos, JsonWriter out) {
package org.msmith;
import com.github.plokhotnyuk.jsoniter_scala.core.JsonWriter;
import java.util.Arrays;
public class CharArrayJsoniterWriter {
static void encode(byte[] str, JsonWriter out) {
readField(str, 0, out);
}