Fixed. Instead did `static_cast<ssize_t>(Buffer::Length(obj));`