বাইটবাফারইউটিল

public class ByteBufferUtil
extends Object

java.lang.অবজেক্ট
com.android.ddmlib.ByteBufferUtil সম্পর্কে


সারাংশ

পাবলিক কনস্ট্রাক্টর

ByteBufferUtil ()

পাবলিক পদ্ধতি

static boolean cleanBuffer (ByteBuffer buffer)

দয়া করে সাবধানে ব্যবহার করুন।

static String getString (ByteBuffer buf, int len)
static ByteBuffer mapFile (File f, long offset, ByteOrder byteOrder)
static void putString (ByteBuffer buf, String str)

পাবলিক কনস্ট্রাক্টর

বাইটবাফারইউটিল

public ByteBufferUtil ()

পাবলিক পদ্ধতি

ক্লিনবাফার

public static boolean cleanBuffer (ByteBuffer buffer)

দয়া করে সাবধানে ব্যবহার করুন। বেশিরভাগ ক্ষেত্রে জিসির উপর কাজ ছেড়ে দেওয়াই যথেষ্ট।

পরামিতি
buffer ByteBuffer

রিটার্নস
boolean

গেটস্ট্রিং

public static String getString (ByteBuffer buf, 
                int len)

পরামিতি
buf ByteBuffer

len int

রিটার্নস
String

ম্যাপফাইল

public static ByteBuffer mapFile (File f, 
                long offset, 
                ByteOrder byteOrder)

পরামিতি
f File

offset long

byteOrder ByteOrder

রিটার্নস
ByteBuffer

পুটস্ট্রিং

public static void putString (ByteBuffer buf, 
                String str)

পরামিতি
buf ByteBuffer

str String