pub fn write_string_to_location(
    buffer: &mut Buffer,
    text: &str
) -> Result<MDLocationDescriptor, MemoryWriterError>