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 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 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 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 ¶
type FileOutputStream ¶
type InputStream ¶
type OutputStream ¶
type StringReader ¶
func (*StringReader) Close ¶
func (s *StringReader) Close()
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.