package jsonbytes

import "github.com/UristLikot/util/jsonbytes"

Index

Types

type UnpaddedBytes

type UnpaddedBytes []byte

UnpaddedBytes is a byte slice that is encoded and decoded using base64.RawStdEncoding instead of the default padded base64.

func (UnpaddedBytes) MarshalJSON

func (b UnpaddedBytes) MarshalJSON() ([]byte, error)

func (*UnpaddedBytes) UnmarshalJSON

func (b *UnpaddedBytes) UnmarshalJSON(data []byte) error

Source Files

unpadded.go

Version
v1.0.1 (latest)
Published
Feb 15, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.