Skip to content

Commit

Permalink
Eliminated long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 23, 2025
1 parent 3bf527c commit 76bad65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec/anticipation-codec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ object Bytes:

extension [ValueType: Encodable in Bytes](value: ValueType)
def bytestream: Bytes = ValueType.encode(value)

extension (long: Long)
def bytes: Bytes = IArray((56 to 0 by -8).map(long >> _).map(_.toByte)*)

0 comments on commit 76bad65

Please sign in to comment.