MCPcopy Create free account
hub / github.com/AnalyseSI/AnalyseSI / tryEncoding

Method tryEncoding

src/com/microstar/xml/XmlParser.java:3493–3496  ·  view source on GitHub ↗

Check for a four-byte signature. Utility routine for detectEncoding(). Always looks for some part of " <?XML" in a specific encoding. @param sig The first four bytes read. @param b1 The first byte of the signature @param b2 The second byte of the signature @

(byte sig[], byte b1, byte b2, byte b3, byte b4)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

detectEncodingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected