NPRPC docs

function check_string_bounds

Swift

func check_string_bounds(buffer: UnsafeRawPointer, bufferSize: Int, offset: Int) -> Bool

Check that a string field has valid bounds Strings are stored like vectors of UInt8

nprpc_swift/Sources/NPRPC/Marshalling.swift:365