Package bm.target
Class ByteContentUtils
java.lang.Object
bm.target.ByteContentUtils
Utilities to convert data to
byte[].-
Method Summary
Modifier and TypeMethodDescriptionstatic voidfileContentBytes(Consumer<byte[]> sink, Path path) static voidinstantBytes(Consumer<byte[]> sink, Instant instant) static voidlastModifiedBytes(Consumer<byte[]> sink, Path path)
-
Method Details
-
fileContentBytes
- Throws:
IOException
-
lastModifiedBytes
- Throws:
IOException
-
instantBytes
-