Skip to content

Commit e6ed666

Browse files
committed
fix: ThrowHelper should be internal
1 parent e45757a commit e6ed666

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ A .NET 9.0 Base58 encoding and decoding library with support for multiple alphab
55
## Features
66

77
- **Multiple Alphabets**: Built-in support for Bitcoin(IFPS/Sui), Ripple, and Flickr alphabets
8-
- **Memory Efficient**: Uses span operations to minimize allocations
9-
- **Type Safe**: Leverages ReadOnlySpan and ReadOnlyMemory for safe operations
8+
- **Memory Efficient**: Uses stackalloc operations when possible to minimize allocations
9+
- **Type Safe**: Leverages ReadOnlySpan and ReadOnlyMemory for safe memory operations
1010
- **Intrinsics**: Uses SIMD `Vector128/Vector256` and unrolled loop for counting leading zeros
1111

1212
## Usage

src/Base58Encoding/ThrowHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Diagnostics.CodeAnalysis;
22

33
namespace Base58Encoding;
4-
public static class ThrowHelper
4+
internal static class ThrowHelper
55
{
66
[DoesNotReturn]
77
public static void ThrowNotExactLength()

0 commit comments

Comments
 (0)