zeromemcpy

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package zeromemcpy は、メモリコピーを発生させずに変換するためのユーティリティが配置されています。

内部でunsafeパッケージを利用していますので、利用には注意が必要です。基本的には通常の手段で変換を行うのが一番です。 パフォーマンスが極端に求められている場合で、変換部分がボトルネック担っている場合にのみ利用するべきです。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B2S

func B2S(b []byte) string

B2S -- []byte] から string へメモリコピー無しで変換します。

REREFENCES

func S2B

func S2B(val string) []byte

S2B -- string から []byte へメモリコピー無しで変換します。

REREFENCES

Types

This section is empty.

Jump to

Keyboard shortcuts

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