Documentation
¶
Overview ¶
Package streams exposes the most-used java.io stream classes over Go io.
Index ¶
- func NewBufferedInputStream(args ...any) any
- func NewBufferedOutputStream(args ...any) any
- func NewByteArrayInputStream(args ...any) any
- func NewByteArrayOutputStream(args ...any) any
- func NewFileInputStream(args ...any) any
- func NewFileOutputStream(args ...any) any
- func NewPrintWriter(args ...any) any
- func NewPushbackReader(args ...any) any
- func NewStringReader(args ...any) any
- func NewStringWriter(args ...any) any
- type BufferedInputStream
- type BufferedOutputStream
- type ByteArrayInputStream
- type ByteArrayOutputStream
- type FileInputStream
- type FileOutputStream
- type InputStream
- type OutputStream
- type PrintWriter
- type PushbackReader
- type StringReader
- type StringWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBufferedInputStream ¶
func NewBufferedOutputStream ¶
func NewByteArrayInputStream ¶
func NewFileInputStream ¶
func NewFileOutputStream ¶
func NewPrintWriter ¶ added in v0.7.5
func NewPushbackReader ¶ added in v0.7.5
func NewStringReader ¶
func NewStringWriter ¶
Types ¶
type BufferedInputStream ¶
type BufferedOutputStream ¶
type ByteArrayInputStream ¶
func (*ByteArrayInputStream) Available ¶
func (s *ByteArrayInputStream) Available() int
func (*ByteArrayInputStream) Close ¶
func (s *ByteArrayInputStream) Close()
type ByteArrayOutputStream ¶
func (*ByteArrayOutputStream) Close ¶
func (s *ByteArrayOutputStream) Close()
func (*ByteArrayOutputStream) Size ¶
func (s *ByteArrayOutputStream) Size() int
func (*ByteArrayOutputStream) ToByteArray ¶
func (s *ByteArrayOutputStream) ToByteArray() []byte
func (*ByteArrayOutputStream) ToString ¶
func (s *ByteArrayOutputStream) ToString() string
type FileInputStream ¶
func (*FileInputStream) Read ¶ added in v0.7.5
func (s *FileInputStream) Read(buffer []byte) (int, error)
func (*FileInputStream) ReadLine ¶ added in v0.7.5
func (s *FileInputStream) ReadLine() any
type FileOutputStream ¶
type InputStream ¶
type OutputStream ¶
type PrintWriter ¶ added in v0.7.5
func (*PrintWriter) Close ¶ added in v0.7.5
func (w *PrintWriter) Close()
func (*PrintWriter) Flush ¶ added in v0.7.5
func (w *PrintWriter) Flush()
type PushbackReader ¶ added in v0.7.5
func (*PushbackReader) Close ¶ added in v0.7.5
func (s *PushbackReader) Close()
type StringReader ¶
func (*StringReader) Close ¶
func (s *StringReader) Close()
func (*StringReader) ReadLine ¶ added in v0.7.5
func (s *StringReader) ReadLine() any
type StringWriter ¶
func (*StringWriter) Close ¶
func (s *StringWriter) Close()
func (*StringWriter) ToString ¶
func (s *StringWriter) ToString() string
Click to show internal directories.
Click to hide internal directories.