--- a/src/Pure/General/bytes.scala Wed Aug 06 17:39:03 2025 +0200
+++ b/src/Pure/General/bytes.scala Thu Aug 07 12:35:37 2025 +0200
@@ -117,7 +117,7 @@
/* write */
def write(file: JFile, bytes: Bytes): Unit =
- using(new FileOutputStream(file))(bytes.write_stream(_))
+ using(new FileOutputStream(file))(bytes.write_stream)
def write(path: Path, bytes: Bytes): Unit = write(path.file, bytes)
@@ -125,7 +125,7 @@
/* append */
def append(file: JFile, bytes: Bytes): Unit =
- using(new FileOutputStream(file, true))(bytes.write_stream(_))
+ using(new FileOutputStream(file, true))(bytes.write_stream)
def append(path: Path, bytes: Bytes): Unit = append(path.file, bytes)
@@ -506,7 +506,7 @@
def encode_base64: Bytes =
Bytes.Builder.use_stream(hint = (size * 1.5).round) { out =>
- using(Base64.encode_stream(out))(write_stream(_))
+ using(Base64.encode_stream(out))(write_stream)
}
def decode_base64: Bytes =