[]Struct jni_android_sys::android::util::Base64

#[repr(transparent)]
pub struct Base64(_);

public class Base64

Required feature: "android-util-Base64"

Methods

impl Base64

pub fn decode_String_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

decode

Required features: "java-lang-String"

pub fn decode_byte_array_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

pub fn decode_byte_array_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

pub fn encodeToString_byte_array_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

encodeToString

Required features: "java-lang-String"

pub fn encodeToString_byte_array_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

encodeToString

Required features: "java-lang-String"

pub fn encode_byte_array_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

pub fn encode_byte_array_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

pub const CRLF: i32[src]

public static final CRLF

pub const DEFAULT: i32[src]

public static final DEFAULT

pub const NO_CLOSE: i32[src]

public static final NO_CLOSE

pub const NO_PADDING: i32[src]

public static final NO_PADDING

pub const NO_WRAP: i32[src]

public static final NO_WRAP

pub const URL_SAFE: i32[src]

public static final URL_SAFE

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Base64

impl AsValidJObjectAndEnv for Base64

impl Deref for Base64

type Target = Object

The resulting type after dereferencing.

impl JniType for Base64

Auto Trait Implementations

impl RefUnwindSafe for Base64

impl !Send for Base64

impl !Sync for Base64

impl Unpin for Base64

impl UnwindSafe for Base64

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.