MCPcopy Create free account
hub / github.com/bboyairwreck/PieMessage / encodeToFile

Method encodeToFile

JavaWebServer/src/plist/Base64.java:1461–1484  ·  view source on GitHub ↗

Convenience method for encoding data to a file. As of v 2.3, if there is a error, the method will throw an java.io.IOException. This is new to v2.3! In earlier versions, it just returned false, but in retrospect that's a pretty poor way to handle it. @param dataToEncode byte array of

(byte[] dataToEncode, String filename)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

writeMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected