should we place this int encoding `ByteString((i >>> 24).toByte, (i >>> 16).toByte, (i >>> 8).toByte, i.toByte)` in a utility method?