- readlinkSync(path, options?): Buffer
Parameters
- path: PathLike
Optional
options: BufferEncodingOption
Returns Buffer
- readlinkSync(path, options): string
Parameters
- path: PathLike
- options:
| undefined
| null
| "ascii"
| "utf8"
| "utf-8"
| "utf16le"
| "utf-16le"
| "ucs2"
| "ucs-2"
| "base64"
| "base64url"
| "latin1"
| "binary"
| "hex"
| ObjectEncodingOptions
Returns string
- readlinkSync(path, options?): Buffer | string
Parameters
- path: PathLike
Optional
options:
| null
| "buffer"
| "ascii"
| "utf8"
| "utf-8"
| "utf16le"
| "utf-16le"
| "ucs2"
| "ucs-2"
| "base64"
| "base64url"
| "latin1"
| "binary"
| "hex"
| ObjectEncodingOptions
| {
encoding: "buffer";
}
Returns Buffer | string