public class JsonBOMByteBufProcessor extends Object implements ByteBufProcessor
Processes byte order mark. It supports only UTF-8.
FIND_CR, FIND_CRLF, FIND_LF, FIND_LINEAR_WHITESPACE, FIND_NON_CR, FIND_NON_CRLF, FIND_NON_LF, FIND_NON_LINEAR_WHITESPACE, FIND_NON_NUL, FIND_NUL
Constructor and Description |
---|
JsonBOMByteBufProcessor() |
public boolean process(byte value) throws Exception
process
in interface ByteBufProcessor
Exception
Copyright © 2017 Couchbase, Inc.. All rights reserved.