All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalqa.j.io.input.z.Z.scala Maven / Gradle / Ivy

There is a newer version: 1.0
Show newest version
package scalqa; package j; package io; package input; import language.implicitConversions

object Z:

  class CharStream(r: java.io.Reader) extends Char.~ :

    @tn("readRaw_Opt") def readRaw_? =
      var o: Char.Opt = \/
      val v = r.read
      if(v >= 0) o = v.Char
      o

  object Void extends java.io.InputStream with Gen.Void:
    def read = -1

/*___________________________________________________________________________
    __________ ____   __   ______  ____
   /  __/ ___// _  | / /  / __  / / _  |             Scala Quick API
 __\  \/ /___/ __  |/ /__/ /_/ /_/ __  |   (c) 2021, Scalqa.org Inc
/_____/\____/_/  |_/____/\______/_/  |_|             github.com/scalqa
___________________________________________________________________________*/




© 2015 - 2024 Weber Informatics LLC | Privacy Policy