nio

package
v0.7.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: EPL-1.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nio exposes the small java.nio charset surface used by portable Clojure libraries.

Index

Constants

This section is empty.

Variables

View Source
var (
	UTF8                       = &Charset{name: "UTF-8"}
	USASCII                    = &Charset{name: "US-ASCII"}
	ISO88591                   = &Charset{name: "ISO-8859-1"}
	REPORT   CodingErrorAction = "REPORT"
)

Functions

func Link()

Link gives embedders an explicit package-retention reference.

Types

type ByteBuffer

type ByteBuffer struct {
	// contains filtered or unexported fields
}

func Wrap

func Wrap(value any) *ByteBuffer

func (*ByteBuffer) Get

func (b *ByteBuffer) Get(index any) int8

func (*ByteBuffer) GetLong

func (b *ByteBuffer) GetLong() int64

GetLong reads a signed, big-endian Java long at the current position and advances the position by eight bytes.

func (*ByteBuffer) Limit

func (b *ByteBuffer) Limit(args ...any) any

func (*ByteBuffer) Position

func (b *ByteBuffer) Position(args ...any) any

func (*ByteBuffer) Remaining

func (b *ByteBuffer) Remaining() int32

func (*ByteBuffer) Slice

func (b *ByteBuffer) Slice() *ByteBuffer

type CharacterCodingException

type CharacterCodingException struct {
	// contains filtered or unexported fields
}

func (*CharacterCodingException) Error

type Charset

type Charset struct {
	// contains filtered or unexported fields
}

func (*Charset) NewDecoder

func (c *Charset) NewDecoder() *CharsetDecoder

func (*Charset) String

func (c *Charset) String() string

type CharsetDecoder

type CharsetDecoder struct {
	// contains filtered or unexported fields
}

func (*CharsetDecoder) Decode

func (d *CharsetDecoder) Decode(buffer any) string

func (*CharsetDecoder) OnMalformedInput

func (d *CharsetDecoder) OnMalformedInput(_ any) *CharsetDecoder

func (*CharsetDecoder) OnUnmappableCharacter

func (d *CharsetDecoder) OnUnmappableCharacter(_ any) *CharsetDecoder

type CodingErrorAction

type CodingErrorAction string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL