You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

github.com/mtraver/base91

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mtraver/base91


Version published
Created

Readme

Source

base91

Go Report Card GoDoc

A Go implementation of base91 encoding with an interface as close as possible to that of the standard library's encoding/base64 (https://golang.org/pkg/encoding/base64).

The encoding/base64 Encoding type and this package's Encoding type both satisfy this interface:

type BaseNEncoding interface {
  Decode(dst, src []byte) (int, error)
  DecodeString(s string) ([]byte, error)
  DecodedLen(n int) int
  
  // The signature of Encode is different in this package and
  // encoding/base64: this package returns the number of bytes
  // written because the encoded length cannot be known from just
  // the number of bytes to encode, whereas it can with base64.
  // Encode(dst, src []byte)
  
  EncodeToString(src []byte) string
  EncodedLen(n int) int
}

FAQs

Package last updated on 20 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc