Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/_NIOJSON/Core/Bounds.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extension UInt8 {
extension JSONToken.String {
/// Makes a String from a Span.
/// Assumes the length is checked against the bounds `self`
func makeString(from span: Span<UInt8>, unicode: Bool) -> String? {
public func makeString(from span: Span<UInt8>, unicode: Bool) -> String? {
let startOffset = start.byteOffset

if usesEscaping {
Expand Down Expand Up @@ -125,7 +125,7 @@ extension JSONToken.String {
extension JSONToken.String {
/// Makes a String from an Array.
/// Assumes the length is checked against the bounds `self`
func makeString(from bytes: [UInt8], unicode: Bool) -> String? {
public func makeString(from bytes: [UInt8], unicode: Bool) -> String? {
let startOffset = start.byteOffset

if usesEscaping {
Expand Down
Loading