binaryop

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 6 Imported by: 0

README

サンプルリスト

このディレクトリには以下のサンプルがあります。

file example name note
read.go binaryop_read バイナリを読み込むサンプルです
write.go binaryop_write バイナリを書き込むサンプルです
binary_byteorder.go binaryop_byteorder encoding/binary パッケージを用いて Go におけるバイトオーダーの確認をするサンプルです.
mapstruct.go binaryop_mapping 構造体にバイナリデータをマッピングするサンプルです
struct_read_write.go binaryop_struct_read_write 構造体をバイナリにパックし、それをバイナリとして書き出すサンプルです
readwrite/binary_readwrite.go binaryop_readwrite binary パッケージの Read/Write を利用してエンディアン指定でデータを読み込むサンプルです

Documentation

Overview

Package binaryop -- encoding/binary パッケージについてのサンプルが配置されているパッケージです。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteOrder

func ByteOrder() error

ByteOrder -- encoding/binary パッケージを用いて Go におけるバイトオーダーの確認をするサンプルです.

func MapStruct

func MapStruct() error

MapStruct は、構造体にバイナリデータをマッピングするサンプルです.

func NewRegister

func NewRegister() mapping.Register

NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。

func Read

func Read() error

Read は、バイナリを読み込むサンプルです.

func StructReadWrite added in v0.5.1

func StructReadWrite() error

StructReadWrite は、構造体をバイナリにパックし、それをバイナリとして書き出すサンプルです.

REFERENCES

func Write

func Write() error

Write は、バイナリを書き込むサンプルです.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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