CopyBytesError
public struct CopyBytesError : Error
extension ByteBuffer.CopyBytesError: Hashable
extension ByteBuffer.CopyBytesError: CustomDebugStringConvertible
Errors thrown when calling copyBytes
.
-
The length of the bytes to copy was negative.
Declaration
Swift
public static let negativeLength: CopyBytesError
-
The bytes to copy are not readable.
Declaration
Swift
public static let unreadableSourceBytes: CopyBytesError
-
Declaration
Swift
public var debugDescription: String { get }