Skip to content

Instantly share code, notes, and snippets.

Ruslan Leshchenko leshchenko

Block or report user

Report or block leshchenko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View NetworkError.kt
import com.google.gson.Gson
import com.swishhoop.util.TLog
import retrofit2.HttpException
import java.io.IOException
import java.net.ConnectException
import java.net.SocketTimeoutException
import java.net.UnknownHostException
import kotlin.reflect.KClass
/**
@leshchenko
leshchenko / Bitmask.kt
Created Jul 29, 2019
Bitmask filtering
View Bitmask.kt
class Bitmask(
mask: Int
) {
private var bitmask = mask
val mask: Int
get() = bitmask
constructor() : this(0)
You can’t perform that action at this time.