public class EncodingPredictor extends Object
Predicts encoding for error messages based on some heuristics.
Modifier and Type | Class and Description |
---|---|
static class |
EncodingPredictor.DecodeResult
In certain cases the encoding is not known for sure (e.g.
|
Constructor and Description |
---|
EncodingPredictor() |
Modifier and Type | Method and Description |
---|---|
static @Nullable EncodingPredictor.DecodeResult |
decode(byte[] bytes,
int offset,
int length) |
public static @Nullable EncodingPredictor.DecodeResult decode(byte[] bytes, int offset, int length)
Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.