Skip to content

Commit 66e5929

Browse files
committed
renamed method to GetMaxBufferLength for clarity
1 parent 5e9c135 commit 66e5929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PolylineAlgorithm/Abstraction/AbstractPolylineEncoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public TPolyline Encode(IEnumerable<TCoordinate> coordinates) {
8484

8585
int position = 0;
8686
int consumed = 0;
87-
int length = GetBufferLength(count);
87+
int length = GetMaxBufferLength(count);
8888

8989
Span<char> buffer = stackalloc char[length];
9090

0 commit comments

Comments
 (0)