MCPcopy Create free account
hub / github.com/BotLibre/BotLibre / loadBinaryFile

Method loadBinaryFile

ai-engine/source/org/botlibre/util/Utils.java:1824–1849  ·  view source on GitHub ↗

Process the binary file and return the bytes, or an error if the file size exceed the max size.

(InputStream stream, boolean close, int max)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

loadFileBytesMethod · 0.95
loadImageBytesMethod · 0.95
loadImageFileBytesMethod · 0.95

Calls 2

writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected