类型互转
1.各种类型转String
2.String转Bytes
3.数组转List
4.进制转换
5.
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util....
分类:
编程语言 时间:
2015-04-01 09:33:46
阅读次数:
156
//way 1union{ unsigned long biths; unsigned char bytes[4];} theValue;//way 2ndtypedef char* bytePointer;void showBytes(bytePointer p, int len){ in...
分类:
其他好文 时间:
2015-03-30 23:04:15
阅读次数:
195
一、 概述 U-boot中的TFTP用于发送较小的文件。下层使用UDP协议,发送使用UDP 69端口,每次发送的最大分组为512 Bytes。发送双方采用超时重传机制。数据传输模式为octet模式( 二进制模式 )。 在U-boot中使用tftp功能可以使用如下命令: tftp MemoryAddr...
分类:
其他好文 时间:
2015-03-29 19:35:35
阅读次数:
118
让ECHO变快, 让PHP的请求处理过程, 尽快结束, 之所以ECHO慢, 是在等待”写数据”成功返回, 那么一个比较简单的办法, 就是打开输出缓存,编辑php.inioutput_buffering = 4096 //bytes也可以在脚本中, 显示的调用ob_start():ob_start()...
分类:
Web程序 时间:
2015-03-29 14:49:50
阅读次数:
156
I would like to force the overflow icon to always show in the action bar (assuming there are overflow items). On models with a menu button, sometimes the overflow icon doesn‘t appear and users must...
分类:
其他好文 时间:
2015-03-28 20:31:01
阅读次数:
153
wc字数统计 wc[OPTION]...[FILE]... -l,--lines显示行数 -w,--words显示单词数 -c,--bytes显示字节数-L,--max-line-length打印最长行的长度。eg:cut文件提取命令 官方解释:removesectionsfromeachlineoffiles 从文件中每一行选取部分 根据官方解释可以知道cut是以每..
分类:
其他好文 时间:
2015-03-28 19:00:23
阅读次数:
164
语法:dd[选项]if=输入文件(或设备名称)。of=输出文件(或设备名称)。ibs=bytes一次读取bytes字节,即读入缓冲区的字节数。skip=blocks跳过读入缓冲区开头的ibs*blocks块。obs=bytes一次写入bytes字节,即写入缓冲区的字节数。bs=bytes同时设置读/写缓冲区的字节数(等于设..
分类:
其他好文 时间:
2015-03-28 18:59:36
阅读次数:
149
要用dbms_output.put_line来输出语句,遇到以下错误: ERROR 位于第 1 行: ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes ORA-06512: 在"SYS.DBMS_OUTPUT", line 35 ORA-06512: 在"SYS.DBMS_OUTPU...
分类:
其他好文 时间:
2015-03-21 11:24:35
阅读次数:
173
速查表:char -128 ~ +127 (1 Byte)short -32767 ~ + 32768 (2 Bytes)unsigned short 0 ~ 65536 (2 Bytes)int -2147483648 ~ +2147483647 (4 Bytes)unsigned int 0 ~...
分类:
编程语言 时间:
2015-03-21 11:03:13
阅读次数:
139
# -*- coding: cp936 -*-'''Created on 2018年7月8日@author: chliu.brook'''#coding=utf-8;import struct;import sys;a=12.34;bytes=struct.pack("d",a);print(byt...
分类:
编程语言 时间:
2015-03-20 16:07:31
阅读次数:
151