Skip to content

Instantly share code, notes, and snippets.

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);
}
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) {