On this page:
_ svn-string
_ svn-string-pointer
_ svn-string-pointer/ null
svn-string?
bytes->svn-string
svn-string->bytes
Version: 4.1.4.1

2.2 Strings

_svn-string : ctype?
_svn-string-pointer : ctype?
_svn-string-pointer/null : ctype?

C structure type representing a binary string for Subversion.

(svn-string? obj)  any
  obj : any/c

Checks whether the given obj is a C pointer to a binary Subversion string.

(bytes->svn-string bytes)  (or/c svn-string? #f)
  bytes : (or/c bytes? #f)

Converts the given byte string bytes into a binary Subversion string.

This procedure is unsafe.

(svn-string->bytes str)  (or/c bytes? #f)
  str : (or/c svn-string? #f)

Converts the given binary Subversion string str into a Scheme byte string.

This procedure is unsafe.